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.00113/0.00113, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001298/0.001298, allocations: 169 kB / 23.27 MB, free: 1.223 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.073/1.073, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.05069/0.05069, allocations: 12.66 MB / 272.9 MB, free: 368 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.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 2.424e-06/2.424e-06, allocations: 0 / 346.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.89e-05, allocations: 2.312 kB / 346.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SingleTD): time 0.002433/0.002462, allocations: 1.018 MB / 347.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007552/0.003217, allocations: 267.7 kB / 348.2 MB, free: 384 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.003359, allocations: 4 kB / 348.2 MB, free: 380 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.00356, allocations: 43.66 kB / 348.3 MB, free: 336 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.003859, allocations: 39.7 kB / 348.3 MB, free: 296 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.004071, allocations: 79.78 kB / 348.4 MB, free: 216 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.004402, allocations: 243.4 kB / 348.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.004476, allocations: 12.53 kB / 348.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.004776, allocations: 159.7 kB / 348.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.004859, allocations: 31.84 kB / 348.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.004887, allocations: 4 kB / 348.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.004971, allocations: 15.98 kB / 348.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.377e-05/0.005065, allocations: 23.86 kB / 348.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.00511, allocations: 27.84 kB / 348.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.005312, allocations: 59.8 kB / 348.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.005315, allocations: 0 / 348.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005316, allocations: 0 / 348.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.005322, allocations: 3.938 kB / 348.9 MB, free: 15.64 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.0005592/0.005881, allocations: 469.7 kB / 349.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.005927, allocations: 12.03 kB / 349.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.005989, allocations: 24.83 kB / 349.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.006165, allocations: 144.2 kB / 349.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.006192, allocations: 8.375 kB / 349.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.00621, allocations: 16.12 kB / 349.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.006492, allocations: 173.1 kB / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.006503, allocations: 0 / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.006516, allocations: 4 kB / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006524, allocations: 0 / 349.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.006649, allocations: 69.55 kB / 349.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009528/0.007601, allocations: 0.9402 MB / 350.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.00776, allocations: 107.9 kB / 350.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.007812, allocations: 53.06 kB / 350.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.007822, allocations: 0 / 350.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.007978, allocations: 118 kB / 351 MB, free: 13.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.00798, allocations: 0 / 351 MB, free: 13.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002795/0.008259, allocations: 186.6 kB / 351.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.008313, allocations: 110.8 kB / 351.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.008439, allocations: 229 kB / 351.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.00845, allocations: 25.7 kB / 351.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.008532, allocations: 170.6 kB / 351.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.008551, allocations: 19.89 kB / 351.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.0086, allocations: 47.33 kB / 351.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.008739, allocations: 0.4923 MB / 352.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.008769, allocations: 41.69 kB / 352.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.008839, allocations: 115.1 kB / 352.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.008976, allocations: 222.5 kB / 352.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.008978, allocations: 4 kB / 352.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002185/0.009197, allocations: 188.8 kB / 352.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.009238, allocations: 33.7 kB / 352.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.009245, allocations: 320 / 352.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.009263, allocations: 8.188 kB / 352.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.009346, allocations: 19.92 kB / 352.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.009352, allocations: 11.94 kB / 352.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.009396, allocations: 15.94 kB / 353 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.009409, allocations: 4 kB / 353 MB, free: 11.16 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.enabledByOutPlaces,T1.enabledByInPlaces,$whenCondition1,T1.firingCon) * 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.0001623/0.009572, allocations: 202.2 kB / 353.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.009591, allocations: 15.95 kB / 353.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.009618, allocations: 13.16 kB / 353.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.009625, allocations: 4 kB / 353.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.009632, allocations: 3.938 kB / 353.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.009638, allocations: 3.984 kB / 353.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.01003, allocations: 0.5121 MB / 353.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01003, allocations: 4 kB / 353.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.01007, allocations: 4 kB / 353.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01007, allocations: 0 / 353.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01008, allocations: 0 / 353.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01008, allocations: 3.938 kB / 353.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01009, allocations: 4 kB / 353.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.0103, allocations: 418.4 kB / 354.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.01031, allocations: 11.91 kB / 354.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.01033, allocations: 8 kB / 354.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.01039, allocations: 7.938 kB / 354.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.01043, allocations: 11.97 kB / 354.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.01044, allocations: 4 kB / 354.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.0105, allocations: 152.8 kB / 354.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0105, allocations: 0 / 354.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.01071, allocations: 20 kB / 354.3 MB, free: 9.676 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.0001203/0.01083, allocations: 103.2 kB / 354.5 MB, free: 9.566 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.011, allocations: 181.6 kB / 354.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.011, allocations: 3.938 kB / 354.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.01107, allocations: 116.7 kB / 354.7 MB, free: 9.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.01131, allocations: 16.39 kB / 354.8 MB, free: 9.207 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.01186, allocations: 268.4 kB / 355 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.386e-05/0.01192, allocations: 67.2 kB / 355.1 MB, free: 8.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.526e-05/0.01198, allocations: 25.41 kB / 355.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.01207, allocations: 86.2 kB / 355.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01207, allocations: 0 / 355.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of Templates: time 0.003031/0.0151, allocations: 1.143 MB / 356.3 MB, free: 7.586 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.857359834946692]