Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.001615/0.001615, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001578/0.001578, allocations: 212.3 kB / 22.24 MB, free: 4.855 MB / 14.72 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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.0841/0.0841, allocations: 16.95 MB / 329.4 MB, free: 2.051 MB / 254.1 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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 71.89 kB / 459.7 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1054, allocations: 57.63 MB / 0.5052 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003155/0.1086, allocations: 1.725 MB / 0.5069 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.1121, allocations: 1.859 MB / 0.5087 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1123, allocations: 11.94 kB / 0.5087 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.1127, allocations: 111.1 kB / 0.5088 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.113, allocations: 127.1 kB / 0.5089 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.1149, allocations: 0.9466 MB / 0.5099 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.1165, allocations: 1.342 MB / 0.5112 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.1167, allocations: 64.3 kB / 0.5112 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006061/0.1173, allocations: 0.5377 MB / 0.5118 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.1178, allocations: 322.4 kB / 0.5121 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1179, allocations: 76 kB / 0.5121 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009591/0.1188, allocations: 0.5928 MB / 0.5127 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.119, allocations: 135.3 kB / 0.5128 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.1193, allocations: 278.8 kB / 0.5131 GB, free: 272 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1945/0.3139, allocations: 1.059 MB / 0.5141 GB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3139, allocations: 0.7188 kB / 0.5141 GB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3139, allocations: 0 / 0.5141 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3139, allocations: 1.125 kB / 0.5141 GB, free: 11.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001413/0.3153, allocations: 1.139 MB / 0.5153 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3154, allocations: 14.14 kB / 0.5153 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.3155, allocations: 110.9 kB / 0.5154 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.3158, allocations: 88.61 kB / 0.5155 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.3163, allocations: 344.7 kB / 0.5158 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.3164, allocations: 108 kB / 0.5159 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.3166, allocations: 68.03 kB / 0.516 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.3183, allocations: 1.552 MB / 0.5175 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3183, allocations: 1.25 kB / 0.5175 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.3184, allocations: 38.75 kB / 0.5175 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.086e-05/0.3185, allocations: 43.48 kB / 0.5176 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.3198, allocations: 1.053 MB / 0.5186 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.3228, allocations: 2.725 MB / 0.5212 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.3241, allocations: 0.9209 MB / 0.5221 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009105/0.325, allocations: 0.7943 MB / 0.5229 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/0.325, allocations: 8.516 kB / 0.5229 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/0.3264, allocations: 1.152 MB / 0.5241 GB, free: 6.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.435e-06/0.3264, allocations: 0 / 0.5241 GB, free: 6.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003613/0.33, allocations: 2.968 MB / 0.527 GB, free: 4.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.3302, allocations: 0.5108 MB / 0.5274 GB, free: 4.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.3306, allocations: 375.1 kB / 0.5278 GB, free: 4.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/0.3307, allocations: 63.66 kB / 0.5279 GB, free: 4.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3309, allocations: 240.3 kB / 0.5281 GB, free: 3.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.331, allocations: 190.8 kB / 0.5283 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.3313, allocations: 204.8 kB / 0.5285 GB, free: 3.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.3313, allocations: 368.5 kB / 0.5288 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.3319, allocations: 0.6002 MB / 0.5294 GB, free: 2.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.3326, allocations: 1.012 MB / 0.5304 GB, free: 1.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.3345, allocations: 2.053 MB / 0.5324 GB, free: 344 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.3345, allocations: 4.906 kB / 0.5324 GB, free: 344 kB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002273/0.3368, allocations: 1.785 MB / 0.5342 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.337, allocations: 308.8 kB / 0.5344 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.337, allocations: 10.09 kB / 0.5345 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/0.3371, allocations: 17.12 kB / 0.5345 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.3374, allocations: 114.4 kB / 0.5346 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.3375, allocations: 21.16 kB / 0.5346 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.3379, allocations: 112.2 kB / 0.5347 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.338, allocations: 49.67 kB / 0.5348 GB, free: 14.88 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * 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.0009938/0.339, allocations: 0.6922 MB / 0.5354 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.3392, allocations: 71.97 kB / 0.5355 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.3422, allocations: 1.983 MB / 0.5374 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.3422, allocations: 4.375 kB / 0.5374 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3422, allocations: 1.125 kB / 0.5374 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.3423, allocations: 6.516 kB / 0.5375 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/0.347, allocations: 2.739 MB / 0.5401 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.347, allocations: 0 / 0.5401 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3471, allocations: 33.83 kB / 0.5402 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3471, allocations: 0 / 0.5402 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/0.3472, allocations: 41.72 kB / 0.5402 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3472, allocations: 10.69 kB / 0.5402 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3472, allocations: 0.6562 kB / 0.5402 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/0.3508, allocations: 2.496 MB / 0.5426 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.3508, allocations: 49.03 kB / 0.5427 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.351, allocations: 74.5 kB / 0.5428 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.3514, allocations: 49 kB / 0.5428 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.3516, allocations: 87.78 kB / 0.5429 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/0.3517, allocations: 51.28 kB / 0.5429 GB, free: 10.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.352, allocations: 222.2 kB / 0.5432 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.352, allocations: 0 / 0.5432 GB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001136/0.3531, allocations: 308.6 kB / 0.5434 GB, free: 10.28 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: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * 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.004775/0.3579, allocations: 3.314 MB / 0.5467 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.3611, allocations: 2.299 MB / 0.5489 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3611, allocations: 1.125 kB / 0.5489 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.3629, allocations: 1.426 MB / 0.5503 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.3636, allocations: 103.4 kB / 0.5504 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.3747, allocations: 8.56 MB / 0.5588 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.375, allocations: 296.6 kB / 0.5591 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003547/0.3754, allocations: 127.2 kB / 0.5592 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.3756, allocations: 173.4 kB / 0.5594 GB, free: 15.53 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3756, allocations: 4 kB / 0.5594 GB, free: 15.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.4228, allocations: 16.72 MB / 0.5757 GB, free: 15.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.22, allocations: 3.938 kB / 0.5757 GB, free: 15.87 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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: 14.900805104058236]