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.001759/0.001759, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002183/0.002183, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 18.57 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 1.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.176 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.0826/0.0826, allocations: 12.67 MB / 272.2 MB, free: 408 kB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 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.312e-06/1.312e-06, allocations: 0 / 345.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.189e-05, allocations: 5.125 kB / 345.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.001544/0.001566, allocations: 0.9999 MB / 346.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006488/0.002215, allocations: 383 kB / 347.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.002289, allocations: 11.94 kB / 347.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.002442, allocations: 47.7 kB / 347.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.002666, allocations: 51.59 kB / 347.2 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.002866, allocations: 127.7 kB / 347.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.003082, allocations: 311.3 kB / 347.6 MB, free: 424 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.003119, allocations: 8.594 kB / 347.6 MB, free: 416 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.00327, allocations: 207.7 kB / 347.8 MB, free: 208 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.003333, allocations: 35.77 kB / 347.9 MB, free: 172 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.003349, allocations: 4 kB / 347.9 MB, free: 168 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.003446, allocations: 67.81 kB / 347.9 MB, free: 100 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.003501, allocations: 27.84 kB / 348 MB, free: 72 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.003536, allocations: 15.88 kB / 348 MB, free: 56 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.00376, allocations: 123.7 kB / 348.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003762, allocations: 0 / 348.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003762, allocations: 0 / 348.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.003766, allocations: 0 / 348.1 MB, free: 15.93 MB / 282.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.0005137/0.004279, allocations: 355.5 kB / 348.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.00431, allocations: 12.03 kB / 348.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.004382, allocations: 20.84 kB / 348.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.004576, allocations: 143.8 kB / 348.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.0046, allocations: 12.36 kB / 348.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.004626, allocations: 8.375 kB / 348.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.004867, allocations: 135.9 kB / 348.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004876, allocations: 0 / 348.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.004893, allocations: 8 kB / 348.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004897, allocations: 0 / 348.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.005033, allocations: 73.61 kB / 348.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.005819, allocations: 0.6064 MB / 349.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.006016, allocations: 72.33 kB / 349.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.006088, allocations: 50.67 kB / 349.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.0061, allocations: 4 kB / 349.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.006129, allocations: 30.56 kB / 349.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.00613, allocations: 0 / 349.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003284/0.006458, allocations: 182.6 kB / 349.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.006524, allocations: 81.11 kB / 349.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.006721, allocations: 165.8 kB / 350 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.006743, allocations: 29.7 kB / 350.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.006839, allocations: 115.9 kB / 350.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.006868, allocations: 27.77 kB / 350.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.00693, allocations: 33.7 kB / 350.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.007112, allocations: 326.8 kB / 350.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.007184, allocations: 45.7 kB / 350.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.007291, allocations: 93.62 kB / 350.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.007462, allocations: 127.6 kB / 350.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007463, allocations: 0 / 350.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002727/0.007736, allocations: 169.1 kB / 351 MB, free: 12.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.007775, allocations: 37.7 kB / 351 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.00778, allocations: 0 / 351 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.007801, allocations: 4 kB / 351 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.007863, allocations: 19.92 kB / 351 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.00787, allocations: 4.062 kB / 351.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.007919, allocations: 11.89 kB / 351.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.007933, allocations: 4 kB / 351.1 MB, free: 12.65 MB / 282.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 0.0001399/0.008073, allocations: 151.5 kB / 351.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.008114, allocations: 19.84 kB / 351.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.008355, allocations: 151.6 kB / 351.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008357, allocations: 4 kB / 351.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.008363, allocations: 4 kB / 351.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.008367, allocations: 3.938 kB / 351.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.008528, allocations: 137.3 kB / 351.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00853, allocations: 48 / 351.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.008554, allocations: 7.984 kB / 351.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.008555, allocations: 0 / 351.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.008562, allocations: 0 / 351.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.008566, allocations: 4 kB / 351.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008567, allocations: 0 / 351.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.008787, allocations: 168.3 kB / 351.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.008805, allocations: 11.91 kB / 351.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.008826, allocations: 4 kB / 351.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.008847, allocations: 0 / 351.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.008877, allocations: 4 kB / 351.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.008884, allocations: 4 kB / 351.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.009006, allocations: 128 kB / 351.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009006, allocations: 0 / 351.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.009247, allocations: 27.88 kB / 351.9 MB, free: 11.74 MB / 282.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.0001762/0.009423, allocations: 115.2 kB / 352 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.009674, allocations: 174.7 kB / 352.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009676, allocations: 0 / 352.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.009776, allocations: 101 kB / 352.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.009994, allocations: 15.98 kB / 352.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.01054, allocations: 274 kB / 352.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.597e-05/0.01064, allocations: 88.27 kB / 352.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.01075, allocations: 44.62 kB / 352.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.01079, allocations: 20.48 kB / 352.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01079, allocations: 0 / 352.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of Templates: time 0.003789/0.01458, allocations: 0.8834 MB / 353.6 MB, free: 9.945 MB / 282.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=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.SingleTC.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.ConTest.SingleTC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.SingleTC.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.SingleTC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.303626838955097]