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.001792/0.001792, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002246/0.002246, allocations: 217 kB / 22.25 MB, free: 5.082 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 7.992 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.08119/0.08119, allocations: 16.95 MB / 329.4 MB, free: 2.258 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.00202/0.00202, allocations: 71.89 kB / 459.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1158, allocations: 57.63 MB / 0.5053 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.00312/0.1189, allocations: 1.874 MB / 0.5071 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.1224, allocations: 1.944 MB / 0.509 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.1226, allocations: 7.938 kB / 0.509 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.1229, allocations: 115.1 kB / 0.5091 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.1233, allocations: 131.1 kB / 0.5093 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.1251, allocations: 0.9592 MB / 0.5102 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.1267, allocations: 1.35 MB / 0.5115 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1269, allocations: 60.3 kB / 0.5116 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006102/0.1275, allocations: 0.5416 MB / 0.5121 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.128, allocations: 342.4 kB / 0.5124 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1281, allocations: 75.98 kB / 0.5125 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.129, allocations: 0.6397 MB / 0.5131 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.1292, allocations: 143.3 kB / 0.5133 GB, free: 368 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.1296, allocations: 330.5 kB / 0.5136 GB, free: 36 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.216/0.3456, allocations: 1.052 MB / 0.5146 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3456, allocations: 1.344 kB / 0.5146 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3456, allocations: 0 / 0.5146 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3456, allocations: 0 / 0.5146 GB, free: 11.09 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.001538/0.3472, allocations: 1.147 MB / 0.5157 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3472, allocations: 11.28 kB / 0.5157 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.3474, allocations: 115.7 kB / 0.5158 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.3477, allocations: 86.5 kB / 0.5159 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.3482, allocations: 350.1 kB / 0.5163 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.3483, allocations: 105.5 kB / 0.5164 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3484, allocations: 65.59 kB / 0.5164 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.35, allocations: 1.107 MB / 0.5175 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.35, allocations: 0 / 0.5175 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.3501, allocations: 33.72 kB / 0.5175 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.92e-05/0.3502, allocations: 44.84 kB / 0.5176 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.3514, allocations: 0.7412 MB / 0.5183 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.3547, allocations: 2.885 MB / 0.5211 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.3557, allocations: 0.5966 MB / 0.5217 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.3565, allocations: 493.3 kB / 0.5222 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.3565, allocations: 6.375 kB / 0.5222 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.3577, allocations: 0.7807 MB / 0.5229 GB, free: 7.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.324e-06/0.3577, allocations: 0 / 0.5229 GB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003385/0.3611, allocations: 2.212 MB / 0.5251 GB, free: 7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002548/0.3614, allocations: 0.5129 MB / 0.5256 GB, free: 6.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.3618, allocations: 375.2 kB / 0.526 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.49e-05/0.3619, allocations: 63.16 kB / 0.526 GB, free: 6.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.3621, allocations: 242.1 kB / 0.5262 GB, free: 6.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.3623, allocations: 193.1 kB / 0.5264 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.3626, allocations: 204.5 kB / 0.5266 GB, free: 5.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3627, allocations: 368.2 kB / 0.527 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.3633, allocations: 303.8 kB / 0.5273 GB, free: 5.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.364, allocations: 0.637 MB / 0.5279 GB, free: 4.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.3662, allocations: 2.038 MB / 0.5299 GB, free: 3.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/0.3662, allocations: 7.25 kB / 0.5299 GB, free: 3.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001922/0.3681, allocations: 1.472 MB / 0.5313 GB, free: 2.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.3683, allocations: 309.7 kB / 0.5316 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.3683, allocations: 12.66 kB / 0.5316 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/0.3683, allocations: 15.03 kB / 0.5316 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.3687, allocations: 110.5 kB / 0.5318 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/0.3687, allocations: 20.09 kB / 0.5318 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.3691, allocations: 106.9 kB / 0.5319 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.3692, allocations: 49.75 kB / 0.5319 GB, free: 2.109 MB / 382.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.0008528/0.37, allocations: 0.7001 MB / 0.5326 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3702, allocations: 71.7 kB / 0.5327 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.3729, allocations: 1.673 MB / 0.5343 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3729, allocations: 4.625 kB / 0.5343 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.3729, allocations: 1.281 kB / 0.5343 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3729, allocations: 5.953 kB / 0.5343 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/0.3771, allocations: 2.565 MB / 0.5368 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3771, allocations: 0 / 0.5368 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3773, allocations: 25.81 kB / 0.5368 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.3773, allocations: 4.875 kB / 0.5368 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.3774, allocations: 46.25 kB / 0.5369 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.3774, allocations: 2.219 kB / 0.5369 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3774, allocations: 6.094 kB / 0.5369 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003484/0.3809, allocations: 2.067 MB / 0.5389 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.381, allocations: 47.41 kB / 0.539 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.3812, allocations: 73.52 kB / 0.539 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.3816, allocations: 54.88 kB / 0.5391 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.3818, allocations: 89.78 kB / 0.5392 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-05/0.3819, allocations: 47 kB / 0.5392 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002894/0.3822, allocations: 222.6 kB / 0.5394 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3822, allocations: 0 / 0.5394 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001265/0.3835, allocations: 308.3 kB / 0.5397 GB, free: 14.29 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.004497/0.388, allocations: 2.883 MB / 0.5425 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.3906, allocations: 1.667 MB / 0.5442 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3906, allocations: 1.094 kB / 0.5442 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.3919, allocations: 1.105 MB / 0.5452 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.3925, allocations: 103.2 kB / 0.5453 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4028, allocations: 6.966 MB / 0.5521 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.4033, allocations: 0.9043 MB / 0.553 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.4037, allocations: 129.5 kB / 0.5532 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.4039, allocations: 170 kB / 0.5533 GB, free: 5.941 MB / 398.1 MB Notification: Performance of SimCode: time 1.903e-06/0.4039, allocations: 0 / 0.5533 GB, free: 5.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/0.4545, allocations: 16.11 MB / 0.5691 GB, free: 7.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.96, allocations: 6.75 kB / 0.5691 GB, free: 7.84 MB / 414.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv","/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] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.28423878600006]