Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SingleTD.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.001361/0.001361, allocations: 92.22 kB / 19.65 MB, free: 276 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.001429/0.001429, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9848/0.9848, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.04769/0.04769, allocations: 12.65 MB / 272.6 MB, free: 0.5039 MB / 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.DisTest.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") translateModel(PNlib.Examples.DisTest.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.727e-06/3.727e-06, allocations: 0 / 346.5 MB, free: 1.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/2.156e-05, allocations: 4.562 kB / 346.5 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SingleTD): time 0.00127/0.001291, allocations: 1.031 MB / 347.5 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004616/0.001753, allocations: 271.7 kB / 347.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.001828, allocations: 4 kB / 347.8 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.001972, allocations: 43.7 kB / 347.8 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.002226, allocations: 43.66 kB / 347.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.002352, allocations: 83.77 kB / 347.9 MB, free: 468 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.002559, allocations: 235.4 kB / 348.2 MB, free: 232 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.002609, allocations: 12.59 kB / 348.2 MB, free: 220 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.002751, allocations: 163.7 kB / 348.4 MB, free: 56 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.002808, allocations: 27.84 kB / 348.4 MB, free: 28 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.002829, allocations: 4 kB / 348.4 MB, free: 24 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.002886, allocations: 15.98 kB / 348.4 MB, free: 8 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.002986, allocations: 27.97 kB / 348.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.003031, allocations: 23.86 kB / 348.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.003185, allocations: 63.8 kB / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003188, allocations: 0 / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.003188, allocations: 0 / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.003193, allocations: 0 / 348.5 MB, free: 15.89 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003698/0.003563, allocations: 465.8 kB / 349 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.00359, allocations: 8.031 kB / 349 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.003624, allocations: 24.84 kB / 349 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.003725, allocations: 148.9 kB / 349.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.003744, allocations: 8.375 kB / 349.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.003758, allocations: 12.12 kB / 349.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.003961, allocations: 180.1 kB / 349.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.003971, allocations: 4 kB / 349.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.003982, allocations: 0 / 349.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.00399, allocations: 4 kB / 349.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.004076, allocations: 65.59 kB / 349.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.004658, allocations: 0.9669 MB / 350.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.004783, allocations: 115.9 kB / 350.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.004821, allocations: 49.08 kB / 350.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.004828, allocations: 4 kB / 350.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.004939, allocations: 122 kB / 350.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.00494, allocations: 0 / 350.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002155/0.005156, allocations: 202.5 kB / 350.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.005201, allocations: 106.8 kB / 351 MB, free: 13.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.005315, allocations: 225.1 kB / 351.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.005329, allocations: 29.7 kB / 351.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.005404, allocations: 162.7 kB / 351.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.005419, allocations: 15.91 kB / 351.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.005463, allocations: 47.36 kB / 351.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.005584, allocations: 0.4962 MB / 351.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.00562, allocations: 41.69 kB / 352 MB, free: 12.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.00569, allocations: 127.1 kB / 352.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.005838, allocations: 218.6 kB / 352.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.005841, allocations: 0 / 352.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001721/0.006013, allocations: 188.9 kB / 352.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.006041, allocations: 37.69 kB / 352.5 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.006048, allocations: 7.922 kB / 352.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.006064, allocations: 7.938 kB / 352.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.006133, allocations: 23.94 kB / 352.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.006141, allocations: 3.984 kB / 352.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.006178, allocations: 11.94 kB / 352.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.006191, allocations: 8 kB / 352.6 MB, free: 11.34 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.T1.firingTime,T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,$whenCondition2,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,T1.firingCon,T1.enabledByInPlaces,$whenCondition1,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001431/0.006334, allocations: 206.4 kB / 352.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.006352, allocations: 15.94 kB / 352.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.006378, allocations: 17.16 kB / 352.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.006382, allocations: 3.938 kB / 352.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.006387, allocations: 0 / 352.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.006393, allocations: 4 kB / 352.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.006728, allocations: 0.5353 MB / 353.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.006731, allocations: 8.062 kB / 353.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.00675, allocations: 11.92 kB / 353.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.006754, allocations: 7.938 kB / 353.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.006764, allocations: 4 kB / 353.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006766, allocations: 0 / 353.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006767, allocations: 0 / 353.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.006961, allocations: 418.4 kB / 353.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.006973, allocations: 15.84 kB / 353.8 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.006993, allocations: 7.984 kB / 353.8 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.007044, allocations: 4 kB / 353.8 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.007108, allocations: 7.984 kB / 353.8 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.007118, allocations: 11.98 kB / 353.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.672e-05/0.007195, allocations: 152.8 kB / 354 MB, free: 9.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007195, allocations: 4 kB / 354 MB, free: 9.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.007402, allocations: 20 kB / 354 MB, free: 9.801 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,T1.fireTime,T1.ani,T1.active,$whenCondition2,T1.firingTime,T1.delayPassed,T1.activation.active) * Number of discrete states: 2 (T1.activation.active,T1.delayPassed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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.0001278/0.00753, allocations: 99.08 kB / 354.1 MB, free: 9.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.007747, allocations: 186.3 kB / 354.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.007749, allocations: 0 / 354.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.007832, allocations: 117.1 kB / 354.4 MB, free: 9.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.00806, allocations: 15.23 kB / 354.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.008518, allocations: 272.5 kB / 354.7 MB, free: 9.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.008571, allocations: 71.14 kB / 354.8 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.779e-05/0.008619, allocations: 24.89 kB / 354.8 MB, free: 8.922 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.008652, allocations: 16.5 kB / 354.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008652, allocations: 0 / 354.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of Templates: time 0.003025/0.01168, allocations: 1.114 MB / 355.9 MB, free: 7.812 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.SingleTD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.SingleTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.SingleTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.SingleTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.SingleTD.sim & ./PNlib_PNlib.Examples.DisTest.SingleTD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.SingleTD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.SingleTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.SingleTD.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.7719052489846945]