Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.SingleTC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002482, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002356, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9944/0.9944, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08794/1.082, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.09762/0.09762, allocations: 12.67 MB / 256.6 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01246/0.1101, allocations: 4.683 MB / 261.3 MB, free: 13.66 MB / 266.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.SingleTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SingleTC") translateModel(PNlib.Examples.ConTest.SingleTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SingleTC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 262.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.497e-05, allocations: 6.312 kB / 262.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.001702/0.001727, allocations: 1.058 MB / 263.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.002652, allocations: 386.9 kB / 264 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.002762, allocations: 7.938 kB / 264 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.002888, allocations: 51.64 kB / 264.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.003086, allocations: 47.66 kB / 264.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.003381, allocations: 123.7 kB / 264.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.003729, allocations: 319.4 kB / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.003791, allocations: 14.56 kB / 264.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.004003, allocations: 223.6 kB / 264.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.004099, allocations: 39.77 kB / 264.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.004116, allocations: 4 kB / 264.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.004261, allocations: 67.86 kB / 264.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.004326, allocations: 19.86 kB / 264.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.004353, allocations: 11.94 kB / 264.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.004506, allocations: 95.67 kB / 265 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.004518, allocations: 0 / 265 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004519, allocations: 4 kB / 265 MB, free: 9.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.004531, allocations: 0 / 265 MB, free: 9.941 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003992/0.00493, allocations: 353.7 kB / 265.4 MB, free: 9.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004965, allocations: 19.91 kB / 265.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.005011, allocations: 12.94 kB / 265.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.005138, allocations: 130.2 kB / 265.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.005154, allocations: 384 / 265.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.005166, allocations: 16.36 kB / 265.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.005313, allocations: 144.5 kB / 265.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.00532, allocations: 0 / 265.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005328, allocations: 4 kB / 265.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.005332, allocations: 4 kB / 265.7 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.005385, allocations: 61.61 kB / 265.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.005826, allocations: 0.5385 MB / 266.3 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.005948, allocations: 63.12 kB / 266.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.005978, allocations: 50.67 kB / 266.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.005993, allocations: 0 / 266.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.006014, allocations: 38.5 kB / 266.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.006016, allocations: 0 / 266.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001438/0.006159, allocations: 150.8 kB / 266.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.006184, allocations: 51.41 kB / 266.6 MB, free: 8.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.00628, allocations: 167.2 kB / 266.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.006292, allocations: 29.7 kB / 266.8 MB, free: 7.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.006338, allocations: 111.9 kB / 266.9 MB, free: 7.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.006348, allocations: 19.83 kB / 267 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.006384, allocations: 33.69 kB / 267 MB, free: 7.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.006461, allocations: 330.7 kB / 267.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.006492, allocations: 37.7 kB / 267.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/0.006532, allocations: 73.86 kB / 267.4 MB, free: 7.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.006605, allocations: 126.4 kB / 267.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006607, allocations: 0 / 267.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001049/0.006712, allocations: 140.9 kB / 267.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.006753, allocations: 33.7 kB / 267.7 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.006758, allocations: 4.25 kB / 267.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.006766, allocations: 112 / 267.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.006818, allocations: 32.05 kB / 267.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.006822, allocations: 4.062 kB / 267.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.006847, allocations: 7.953 kB / 267.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.006857, allocations: 4 kB / 267.8 MB, free: 6.883 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (T1.firingCon,T1.fire_,T1.activation.NoTokens,T1.activation.active,T1.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/0.006932, allocations: 154.2 kB / 267.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.00695, allocations: 8 kB / 267.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.007076, allocations: 131.4 kB / 268.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007078, allocations: 0 / 268.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007079, allocations: 4 kB / 268.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.007082, allocations: 0 / 268.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.62e-05/0.007158, allocations: 93.75 kB / 268.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.00716, allocations: 0 / 268.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.007177, allocations: 7.984 kB / 268.2 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.007186, allocations: 11.91 kB / 268.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007188, allocations: 0 / 268.2 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.007194, allocations: 4 kB / 268.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007195, allocations: 0 / 268.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.007196, allocations: 0 / 268.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.34e-05/0.00728, allocations: 140.4 kB / 268.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.007293, allocations: 8 kB / 268.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/0.007305, allocations: 0 / 268.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.007322, allocations: 8.078 kB / 268.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.007325, allocations: 4 kB / 268.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.912e-05/0.007354, allocations: 44.8 kB / 268.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007354, allocations: 0 / 268.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.007486, allocations: 27.94 kB / 268.4 MB, free: 6.156 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (T1.fire,T1.activation.active,T1.activation.NoTokens) * Number of discrete states: 2 (T1.activation.active,T1.activation.NoTokens) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.007595, allocations: 96.39 kB / 268.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.007717, allocations: 155.6 kB / 268.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.007724, allocations: 4 kB / 268.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.007762, allocations: 106.1 kB / 268.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.007876, allocations: 31.92 kB / 268.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.008297, allocations: 265.1 kB / 269 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.008331, allocations: 63.34 kB / 269.1 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.608e-05/0.008397, allocations: 36.39 kB / 269.1 MB, free: 5.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.00846, allocations: 79.28 kB / 269.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00846, allocations: 0 / 269.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of Templates: time 0.00263/0.01109, allocations: 0.9825 MB / 270.2 MB, free: 4.242 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.SingleTC.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.ConTest.SingleTC.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.SingleTC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.SingleTC.pipe >> ../files/PNlib_PNlib.Examples.ConTest.SingleTC.sim & ./PNlib_PNlib.Examples.ConTest.SingleTC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.SingleTC.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.ConTest.SingleTC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.SingleTC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5689971717074513]