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.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.0007491/0.0007491, allocations: 79.69 kB / 19.26 MB, free: 0.6211 MB / 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.0008126/0.0008126, allocations: 162.3 kB / 22.56 MB, free: 1.965 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.8733/0.8733, allocations: 177.1 MB / 202.9 MB, free: 5.578 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.04738/0.04738, allocations: 12.67 MB / 272 MB, free: 0.5156 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: "" <> 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 2.114e-06/2.114e-06, allocations: 0 / 402.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.918e-05, allocations: 6.219 kB / 402.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002572/0.002601, allocations: 1.746 MB / 404.2 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.00514, allocations: 1.843 MB / 406.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.005356, allocations: 7.938 kB / 406.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.00567, allocations: 115.1 kB / 406.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.005973, allocations: 150.9 kB / 406.3 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.007497, allocations: 0.943 MB / 407.3 MB, free: 5.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.008707, allocations: 1.349 MB / 408.6 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.008887, allocations: 73.23 kB / 408.7 MB, free: 4.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009075/0.009794, allocations: 0.7604 MB / 409.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.01022, allocations: 315 kB / 409.8 MB, free: 3.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.01032, allocations: 88 kB / 409.8 MB, free: 3.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.01103, allocations: 0.6083 MB / 410.5 MB, free: 2.539 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.01116, allocations: 155.2 kB / 410.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.01142, allocations: 287.4 kB / 410.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.0125, allocations: 1.356 MB / 412.2 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.0125, allocations: 0 / 412.2 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0125, allocations: 4 kB / 412.2 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.01252, allocations: 0 / 412.2 MB, free: 0.7422 MB / 378.7 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.00154/0.01406, allocations: 1.202 MB / 413.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.0141, allocations: 12.03 kB / 413.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.0142, allocations: 122.7 kB / 413.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.01443, allocations: 96.52 kB / 413.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.01483, allocations: 372.7 kB / 414 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/0.01491, allocations: 112.8 kB / 414.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.01499, allocations: 75.98 kB / 414.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.01646, allocations: 1.8 MB / 416 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.01647, allocations: 4 kB / 416 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.01653, allocations: 39.98 kB / 416.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/0.01659, allocations: 52.95 kB / 416.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.01801, allocations: 1.258 MB / 417.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.02033, allocations: 3.024 MB / 420.4 MB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/0.02124, allocations: 1.065 MB / 421.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.02196, allocations: 0.9413 MB / 422.4 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.022, allocations: 8 kB / 422.4 MB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.02302, allocations: 1.307 MB / 423.7 MB, free: 4.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 1.603e-06/0.02302, allocations: 0 / 423.7 MB, free: 4.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.002904/0.02592, allocations: 3.442 MB / 427.2 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/0.02615, allocations: 0.5309 MB / 427.7 MB, free: 372 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.02647, allocations: 421.2 kB / 428.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.02655, allocations: 69.72 kB / 428.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.02669, allocations: 269 kB / 428.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.02684, allocations: 198.6 kB / 428.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.02704, allocations: 230.5 kB / 428.9 MB, free: 15.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.02715, allocations: 382.6 kB / 429.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006269/0.02778, allocations: 0.749 MB / 430 MB, free: 13.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.0286, allocations: 1.194 MB / 431.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.03057, allocations: 2.563 MB / 433.7 MB, free: 9.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.03058, allocations: 4 kB / 433.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001942/0.03252, allocations: 2.17 MB / 435.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.03265, allocations: 333.9 kB / 436.2 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.03267, allocations: 12 kB / 436.2 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.03269, allocations: 16 kB / 436.3 MB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.03289, allocations: 123.7 kB / 436.4 MB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.0329, allocations: 23.92 kB / 436.4 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.03318, allocations: 135.2 kB / 436.5 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.03324, allocations: 52 kB / 436.6 MB, free: 6.605 MB / 410.7 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.000538/0.03378, allocations: 0.755 MB / 437.3 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.03386, allocations: 75.67 kB / 437.4 MB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.03591, allocations: 2.383 MB / 439.8 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.03592, allocations: 8 kB / 439.8 MB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.03592, allocations: 0 / 439.8 MB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.03593, allocations: 4 kB / 439.8 MB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1603/0.1962, allocations: 3.248 MB / 443.1 MB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.1962, allocations: 0 / 443.1 MB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1963, allocations: 26.16 kB / 443.1 MB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1963, allocations: 0 / 443.1 MB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.1965, allocations: 44.27 kB / 443.1 MB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1965, allocations: 6.938 kB / 443.1 MB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1965, allocations: 0 / 443.1 MB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.1987, allocations: 2.846 MB / 446 MB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.1987, allocations: 57.7 kB / 446 MB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.1989, allocations: 77.88 kB / 446.1 MB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1991, allocations: 73.19 kB / 446.2 MB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/0.1995, allocations: 338.3 kB / 446.5 MB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.1995, allocations: 45.66 kB / 446.6 MB, free: 78.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1997, allocations: 245.1 kB / 446.8 MB, free: 78.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1997, allocations: 0 / 446.8 MB, free: 78.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007375/0.2004, allocations: 339 kB / 447.1 MB, free: 78.82 MB / 410.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: 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.00265/0.2031, allocations: 3.701 MB / 450.8 MB, free: 76.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.2049, allocations: 2.633 MB / 453.5 MB, free: 75.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2049, allocations: 0 / 453.5 MB, free: 75.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.2059, allocations: 1.616 MB / 455.1 MB, free: 73.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.2063, allocations: 104.5 kB / 455.2 MB, free: 73.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006864/0.2132, allocations: 9.66 MB / 464.8 MB, free: 67.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2134, allocations: 323.4 kB / 465.2 MB, free: 67.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.2136, allocations: 147.4 kB / 465.3 MB, free: 67.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.2138, allocations: 191.3 kB / 465.5 MB, free: 67.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2138, allocations: 0 / 465.5 MB, free: 67.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.2443, allocations: 19.56 MB / 485.1 MB, free: 64.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.907, allocations: 1.375 kB / 485.1 MB, free: 64.27 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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: 9.673217342235148]