Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 186.7 kB / 22.1 MB, free: 4.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 250.8 MB, free: 2.891 MB / 190.1 MB " [Timeout remaining time 178] 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.07719/0.07719, allocations: 16.95 MB / 323 MB, free: 12.4 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 70.91 kB / 450.9 MB, free: 44.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1065, allocations: 56.45 MB / 0.4955 GB, free: 16.83 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002662/0.1092, allocations: 1.88 MB / 0.4973 GB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.1121, allocations: 1.937 MB / 0.4992 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.1123, allocations: 10.84 kB / 0.4992 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1126, allocations: 113.5 kB / 0.4993 GB, free: 13.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.113, allocations: 143.1 kB / 0.4994 GB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.1146, allocations: 0.9619 MB / 0.5004 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1157, allocations: 1.355 MB / 0.5017 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1158, allocations: 64.5 kB / 0.5018 GB, free: 12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.1162, allocations: 0.5477 MB / 0.5023 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.1167, allocations: 393.2 kB / 0.5027 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.1168, allocations: 88.88 kB / 0.5028 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.1176, allocations: 0.6524 MB / 0.5034 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.1178, allocations: 155.3 kB / 0.5035 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.1181, allocations: 390.4 kB / 0.5039 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1191, allocations: 1.184 MB / 0.5051 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1191, allocations: 4 kB / 0.5051 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1191, allocations: 0 / 0.5051 GB, free: 9.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1191, allocations: 7.938 kB / 0.5051 GB, free: 9.082 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001274/0.1204, allocations: 1.218 MB / 0.5063 GB, free: 7.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1204, allocations: 8.031 kB / 0.5063 GB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.1205, allocations: 126.7 kB / 0.5064 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.1208, allocations: 92.5 kB / 0.5065 GB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.1213, allocations: 388.7 kB / 0.5069 GB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/0.1214, allocations: 82.98 kB / 0.5069 GB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/0.1215, allocations: 79.98 kB / 0.507 GB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.123, allocations: 1.319 MB / 0.5083 GB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1231, allocations: 4 kB / 0.5083 GB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.1231, allocations: 35.98 kB / 0.5083 GB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.068e-05/0.1232, allocations: 56.89 kB / 0.5084 GB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.1244, allocations: 0.9171 MB / 0.5093 GB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.1273, allocations: 3.211 MB / 0.5124 GB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.1282, allocations: 0.7201 MB / 0.5131 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.129, allocations: 0.5922 MB / 0.5137 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.732e-05/0.1291, allocations: 8 kB / 0.5137 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.1307, allocations: 0.9117 MB / 0.5146 GB, free: 14.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.014e-06/0.1307, allocations: 4 kB / 0.5146 GB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004478/0.1351, allocations: 2.714 MB / 0.5173 GB, free: 12.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000385/0.1355, allocations: 0.5347 MB / 0.5178 GB, free: 11.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.136, allocations: 413.3 kB / 0.5182 GB, free: 11.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/0.1361, allocations: 65.69 kB / 0.5182 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.1364, allocations: 265 kB / 0.5185 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.1366, allocations: 198.6 kB / 0.5187 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.1369, allocations: 230.6 kB / 0.5189 GB, free: 10.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1371, allocations: 378.7 kB / 0.5193 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007673/0.1379, allocations: 438 kB / 0.5197 GB, free: 9.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.139, allocations: 0.8046 MB / 0.5205 GB, free: 8.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/0.1424, allocations: 2.547 MB / 0.523 GB, free: 5.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.1424, allocations: 8 kB / 0.523 GB, free: 5.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002893/0.1453, allocations: 1.842 MB / 0.5248 GB, free: 3.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002977/0.1456, allocations: 341 kB / 0.5251 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.1456, allocations: 15.94 kB / 0.5251 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/0.1457, allocations: 20 kB / 0.5251 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.146, allocations: 123.6 kB / 0.5252 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.111e-05/0.1461, allocations: 23.94 kB / 0.5253 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.1466, allocations: 135.2 kB / 0.5254 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/0.1467, allocations: 59.94 kB / 0.5255 GB, free: 3.027 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * 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.001079/0.1478, allocations: 0.7536 MB / 0.5262 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.148, allocations: 83.67 kB / 0.5263 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/0.1512, allocations: 2.111 MB / 0.5283 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.1513, allocations: 4 kB / 0.5283 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.1513, allocations: 4 kB / 0.5283 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1513, allocations: 3.938 kB / 0.5283 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.156, allocations: 3.102 MB / 0.5314 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.156, allocations: 0 / 0.5314 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.1561, allocations: 31.92 kB / 0.5314 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.1561, allocations: 4 kB / 0.5314 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.144e-05/0.1562, allocations: 39.97 kB / 0.5314 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1562, allocations: 3.938 kB / 0.5314 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1562, allocations: 0 / 0.5314 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.1597, allocations: 2.476 MB / 0.5339 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.1598, allocations: 55.55 kB / 0.5339 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.16, allocations: 79.97 kB / 0.534 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.1605, allocations: 75.88 kB / 0.5341 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005548/0.161, allocations: 323.7 kB / 0.5344 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.1611, allocations: 47.97 kB / 0.5344 GB, free: 9.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.1614, allocations: 243.2 kB / 0.5347 GB, free: 9.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1614, allocations: 4 kB / 0.5347 GB, free: 9.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001092/0.1625, allocations: 347.5 kB / 0.535 GB, free: 9.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.004576/0.1671, allocations: 3.293 MB / 0.5382 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.1701, allocations: 1.957 MB / 0.5401 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1701, allocations: 4 kB / 0.5401 GB, free: 3.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.1717, allocations: 1.273 MB / 0.5414 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.1723, allocations: 107.7 kB / 0.5415 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.1845, allocations: 7.985 MB / 0.5493 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.1852, allocations: 0.9193 MB / 0.5502 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.1856, allocations: 144.5 kB / 0.5503 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.1859, allocations: 191.4 kB / 0.5505 GB, free: 8.363 MB / 414.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1859, allocations: 0 / 0.5505 GB, free: 8.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/0.2325, allocations: 18.72 MB / 0.5688 GB, free: 5.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.651/8.884, allocations: 0 / 0.5688 GB, free: 5.684 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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: 11.716966406005668]