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.001394/0.001394, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001602/0.001602, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.047/1.047, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.05189/0.05189, allocations: 12.64 MB / 273.7 MB, free: 356 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 1.373e-06/1.373e-06, allocations: 0 / 347.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.947e-05, allocations: 2.312 kB / 347.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SingleTD): time 0.001489/0.001508, allocations: 1.011 MB / 348.7 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.002111, allocations: 275.6 kB / 349 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.002203, allocations: 0 / 349 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.002379, allocations: 39.72 kB / 349 MB, free: 1.371 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.002598, allocations: 43.66 kB / 349.1 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.002732, allocations: 79.83 kB / 349.2 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.002939, allocations: 239.4 kB / 349.4 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.002985, allocations: 12.59 kB / 349.4 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.003133, allocations: 163.7 kB / 349.6 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.003184, allocations: 27.84 kB / 349.6 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.0032, allocations: 4 kB / 349.6 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.003246, allocations: 16 kB / 349.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.003307, allocations: 31.77 kB / 349.6 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.003335, allocations: 15.94 kB / 349.7 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003452, allocations: 63.73 kB / 349.7 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003454, allocations: 4 kB / 349.7 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003455, allocations: 0 / 349.7 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.003458, allocations: 0 / 349.7 MB, free: 0.6875 MB / 314.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.0003877/0.003846, allocations: 481.6 kB / 350.2 MB, free: 180 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.003875, allocations: 12.03 kB / 350.2 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.003914, allocations: 16.88 kB / 350.2 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.004055, allocations: 148 kB / 350.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.004073, allocations: 4.375 kB / 350.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.004086, allocations: 16.11 kB / 350.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.004264, allocations: 172.8 kB / 350.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.004272, allocations: 0 / 350.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.004282, allocations: 4 kB / 350.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.004288, allocations: 0 / 350.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.004364, allocations: 69.55 kB / 350.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.004885, allocations: 0.9401 MB / 351.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.004979, allocations: 99.97 kB / 351.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.005011, allocations: 57.06 kB / 351.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.005017, allocations: 0 / 351.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.126e-05/0.005109, allocations: 122 kB / 351.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.00511, allocations: 4 kB / 351.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001835/0.005293, allocations: 182.6 kB / 352 MB, free: 14.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.005338, allocations: 110.8 kB / 352.1 MB, free: 14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.005443, allocations: 227.8 kB / 352.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.005454, allocations: 25.7 kB / 352.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.005519, allocations: 170.6 kB / 352.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.005537, allocations: 23.88 kB / 352.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.005577, allocations: 39.34 kB / 352.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.005686, allocations: 0.5001 MB / 353.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.005714, allocations: 49.83 kB / 353.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.005768, allocations: 111.2 kB / 353.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.005887, allocations: 218.4 kB / 353.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005889, allocations: 0 / 353.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001404/0.006029, allocations: 184.8 kB / 353.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.00605, allocations: 33.7 kB / 353.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006055, allocations: 4.188 kB / 353.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.006063, allocations: 4 kB / 353.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.006124, allocations: 23.92 kB / 353.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.006129, allocations: 3.938 kB / 353.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.006168, allocations: 19.89 kB / 353.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.006177, allocations: 4 kB / 353.7 MB, free: 12.2 MB / 330.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.0001165/0.006293, allocations: 201.7 kB / 353.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.006309, allocations: 23.95 kB / 354 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.006333, allocations: 17.14 kB / 354 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006335, allocations: 0 / 354 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006338, allocations: 3.938 kB / 354 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006341, allocations: 0 / 354 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.006615, allocations: 0.516 MB / 354.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006616, allocations: 0 / 354.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.006632, allocations: 4 kB / 354.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.006633, allocations: 0 / 354.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.006641, allocations: 12.11 kB / 354.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.006644, allocations: 7.938 kB / 354.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006645, allocations: 4 kB / 354.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.006805, allocations: 406.4 kB / 354.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-06/0.006813, allocations: 11.91 kB / 354.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.006828, allocations: 8 kB / 354.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.006882, allocations: 11.92 kB / 355 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.006915, allocations: 11.92 kB / 355 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.006919, allocations: 0 / 355 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.006969, allocations: 160.8 kB / 355.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006969, allocations: 0 / 355.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.00716, allocations: 20 kB / 355.1 MB, free: 10.7 MB / 330.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 9.194e-05/0.007252, allocations: 111.2 kB / 355.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.007387, allocations: 174.4 kB / 355.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.007388, allocations: 0 / 355.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.433e-05/0.007443, allocations: 108.7 kB / 355.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.007649, allocations: 15.98 kB / 355.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.007965, allocations: 269.2 kB / 355.8 MB, free: 9.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.008003, allocations: 63.72 kB / 355.9 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.008042, allocations: 24.89 kB / 355.9 MB, free: 9.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.008102, allocations: 90.19 kB / 356 MB, free: 9.742 MB / 330.7 MB Notification: Performance of SimCode: time 5e-07/0.008103, allocations: 0 / 356 MB, free: 9.742 MB / 330.7 MB Notification: Performance of Templates: time 0.002522/0.01062, allocations: 1.166 MB / 357.1 MB, free: 8.594 MB / 330.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.932751235086471]