Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.001728/0.001728, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002141/0.002141, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.781 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.08527/0.08527, allocations: 16.94 MB / 329.4 MB, free: 2.043 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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.002297/0.002297, allocations: 71.89 kB / 459.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1041, allocations: 57.63 MB / 0.5052 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.003615/0.1077, allocations: 1.722 MB / 0.5069 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.1114, allocations: 1.886 MB / 0.5087 GB, free: 4.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.1117, allocations: 7.938 kB / 0.5087 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.112, allocations: 119.1 kB / 0.5088 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1124, allocations: 131.1 kB / 0.509 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.1143, allocations: 0.9592 MB / 0.5099 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1159, allocations: 1.342 MB / 0.5112 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.116, allocations: 60.3 kB / 0.5113 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006239/0.1167, allocations: 0.5416 MB / 0.5118 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.1172, allocations: 318.4 kB / 0.5121 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1173, allocations: 72 kB / 0.5122 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009469/0.1182, allocations: 0.5928 MB / 0.5128 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.1184, allocations: 139.3 kB / 0.5129 GB, free: 500 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.1187, allocations: 278.8 kB / 0.5132 GB, free: 220 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.195/0.3137, allocations: 1.048 MB / 0.5142 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3137, allocations: 0 / 0.5142 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3137, allocations: 0.7812 kB / 0.5142 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.312e-05/0.3137, allocations: 0 / 0.5142 GB, free: 11.11 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002225/0.316, allocations: 1.14 MB / 0.5153 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.316, allocations: 9.406 kB / 0.5153 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.3162, allocations: 111 kB / 0.5154 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/0.3166, allocations: 92.67 kB / 0.5155 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.3173, allocations: 350.9 kB / 0.5158 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.3175, allocations: 107.4 kB / 0.5159 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.3176, allocations: 64.62 kB / 0.516 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.3194, allocations: 1.547 MB / 0.5175 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.3194, allocations: 1.156 kB / 0.5175 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.3195, allocations: 29.98 kB / 0.5175 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.286e-05/0.3196, allocations: 48.23 kB / 0.5176 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.3208, allocations: 1.035 MB / 0.5186 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.3237, allocations: 2.698 MB / 0.5212 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3248, allocations: 0.8614 MB / 0.5221 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008339/0.3256, allocations: 0.7677 MB / 0.5228 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.3257, allocations: 13.77 kB / 0.5228 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/0.327, allocations: 1.102 MB / 0.5239 GB, free: 6.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.404e-06/0.327, allocations: 0.5625 kB / 0.5239 GB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.003335/0.3303, allocations: 2.862 MB / 0.5267 GB, free: 4.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.3305, allocations: 0.534 MB / 0.5272 GB, free: 4.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.3309, allocations: 394.7 kB / 0.5276 GB, free: 4.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.847e-05/0.3309, allocations: 65.98 kB / 0.5277 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3311, allocations: 248.2 kB / 0.5279 GB, free: 3.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.3312, allocations: 181.4 kB / 0.5281 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.3314, allocations: 197.2 kB / 0.5283 GB, free: 3.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.3315, allocations: 374.5 kB / 0.5286 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.3321, allocations: 0.5853 MB / 0.5292 GB, free: 2.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.3328, allocations: 1.021 MB / 0.5302 GB, free: 1.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.3347, allocations: 2.012 MB / 0.5322 GB, free: 260 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.3347, allocations: 6.594 kB / 0.5322 GB, free: 260 kB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002173/0.3369, allocations: 1.751 MB / 0.5339 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.3371, allocations: 312.4 kB / 0.5342 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3371, allocations: 10.83 kB / 0.5342 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.3371, allocations: 16.66 kB / 0.5342 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.3375, allocations: 109 kB / 0.5343 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.3375, allocations: 31.75 kB / 0.5343 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.3379, allocations: 103.7 kB / 0.5344 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.338, allocations: 47.48 kB / 0.5345 GB, free: 14.8 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[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 (118): * Single equations (assignments): 108 * 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.0009692/0.339, allocations: 0.6941 MB / 0.5351 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.3391, allocations: 71.5 kB / 0.5352 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.342, allocations: 1.912 MB / 0.5371 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.342, allocations: 4 kB / 0.5371 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.342, allocations: 3.938 kB / 0.5371 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.342, allocations: 3.172 kB / 0.5371 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/0.3456, allocations: 2.465 MB / 0.5395 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3457, allocations: 4 kB / 0.5395 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.3458, allocations: 25.44 kB / 0.5395 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3458, allocations: 2.531 kB / 0.5395 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/0.3459, allocations: 42.95 kB / 0.5396 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3459, allocations: 1.375 kB / 0.5396 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3459, allocations: 0.5156 kB / 0.5396 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.3492, allocations: 2.432 MB / 0.542 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.3493, allocations: 52.95 kB / 0.542 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.3494, allocations: 72.28 kB / 0.5421 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.3498, allocations: 56.36 kB / 0.5421 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.35, allocations: 83.05 kB / 0.5422 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.584e-05/0.3501, allocations: 43.11 kB / 0.5422 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002645/0.3504, allocations: 227.2 kB / 0.5425 GB, free: 10.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3504, allocations: 1.156 kB / 0.5425 GB, free: 10.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001093/0.3515, allocations: 305.4 kB / 0.5428 GB, free: 10.4 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: 64 ($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,$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.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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.004425/0.3559, allocations: 3.24 MB / 0.5459 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.3587, allocations: 2.273 MB / 0.5481 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3588, allocations: 0 / 0.5481 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.3604, allocations: 1.4 MB / 0.5495 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.361, allocations: 100.6 kB / 0.5496 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3714, allocations: 8.299 MB / 0.5577 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3717, allocations: 299.5 kB / 0.558 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.3721, allocations: 124.1 kB / 0.5581 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.3723, allocations: 171.8 kB / 0.5583 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3723, allocations: 0 / 0.5583 GB, free: 15.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/0.4219, allocations: 16.57 MB / 0.5744 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.39, allocations: 11 kB / 0.5745 GB, free: 0.957 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.260892541147768]