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.000866/0.000866, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001016/0.001016, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9154/0.9154, allocations: 177.1 MB / 202.7 MB, free: 5.746 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.04946/0.04946, allocations: 12.64 MB / 271.8 MB, free: 0.7188 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.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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 402.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.67e-05, allocations: 2.281 kB / 402.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003915/0.003942, allocations: 1.746 MB / 404 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.007711, allocations: 1.847 MB / 405.8 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.008129, allocations: 11.94 kB / 405.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.008542, allocations: 115 kB / 406 MB, free: 6.934 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.009019, allocations: 131 kB / 406.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.01113, allocations: 0.947 MB / 407 MB, free: 5.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.01278, allocations: 1.338 MB / 408.4 MB, free: 4.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.01301, allocations: 56.41 kB / 408.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009806/0.01399, allocations: 0.7604 MB / 409.2 MB, free: 3.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.01451, allocations: 279.1 kB / 409.5 MB, free: 3.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.01462, allocations: 72 kB / 409.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009068/0.01553, allocations: 0.6004 MB / 410.1 MB, free: 2.746 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.01573, allocations: 131.3 kB / 410.3 MB, free: 2.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.01606, allocations: 239.4 kB / 410.5 MB, free: 2.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.01794, allocations: 1.196 MB / 411.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01794, allocations: 0 / 411.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01794, allocations: 0 / 411.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.01796, allocations: 0 / 411.7 MB, free: 1.184 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001815/0.01978, allocations: 1.143 MB / 412.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.01983, allocations: 8.031 kB / 412.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.01998, allocations: 110.7 kB / 412.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.02027, allocations: 80.56 kB / 413 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.02075, allocations: 344.8 kB / 413.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.02085, allocations: 108.7 kB / 413.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.02092, allocations: 67.98 kB / 413.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.02234, allocations: 1.552 MB / 415.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.02235, allocations: 3.938 kB / 415.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.0224, allocations: 35.98 kB / 415.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.02246, allocations: 44.97 kB / 415.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.02349, allocations: 1.055 MB / 416.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.02615, allocations: 2.727 MB / 419 MB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008676/0.02701, allocations: 0.9249 MB / 419.9 MB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.02765, allocations: 0.7891 MB / 420.7 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/0.02771, allocations: 15.92 kB / 420.7 MB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.02881, allocations: 1.152 MB / 421.8 MB, free: 6.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 2.966e-06/0.02881, allocations: 4 kB / 421.8 MB, free: 6.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.002787/0.0316, allocations: 2.957 MB / 424.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.03181, allocations: 0.5153 MB / 425.3 MB, free: 2.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.03213, allocations: 372.2 kB / 425.7 MB, free: 2.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.03219, allocations: 65.69 kB / 425.7 MB, free: 2.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.03232, allocations: 233.3 kB / 426 MB, free: 1.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.03244, allocations: 194.6 kB / 426.2 MB, free: 1.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.03262, allocations: 198.6 kB / 426.4 MB, free: 1.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.03273, allocations: 378.6 kB / 426.7 MB, free: 1.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.03318, allocations: 0.5929 MB / 427.3 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.03376, allocations: 1.013 MB / 428.3 MB, free: 15.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.03537, allocations: 2.063 MB / 430.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.03539, allocations: 4 kB / 430.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001744/0.03713, allocations: 1.776 MB / 432.2 MB, free: 11.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.03726, allocations: 309 kB / 432.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.03728, allocations: 12 kB / 432.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.0373, allocations: 20.73 kB / 432.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.0375, allocations: 103.8 kB / 432.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.03752, allocations: 27.92 kB / 432.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.03778, allocations: 111.2 kB / 432.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.03784, allocations: 51.94 kB / 432.8 MB, free: 10.34 MB / 410.7 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.0006479/0.03848, allocations: 0.7043 MB / 433.5 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.03858, allocations: 71.67 kB / 433.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.0404, allocations: 1.977 MB / 435.5 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.0404, allocations: 8 kB / 435.6 MB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.04041, allocations: 0 / 435.6 MB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.04042, allocations: 0 / 435.6 MB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.04299, allocations: 2.735 MB / 438.3 MB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.043, allocations: 4 kB / 438.3 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.227e-05/0.04308, allocations: 31.92 kB / 438.3 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.04309, allocations: 4 kB / 438.3 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.04314, allocations: 39.97 kB / 438.4 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.04314, allocations: 3.938 kB / 438.4 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.04314, allocations: 0 / 438.4 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.04562, allocations: 2.502 MB / 440.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.04568, allocations: 47.59 kB / 440.9 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.04581, allocations: 71.97 kB / 441 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.046, allocations: 55.91 kB / 441 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.04614, allocations: 83.84 kB / 441.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/0.0462, allocations: 47.97 kB / 441.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.04636, allocations: 227 kB / 441.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04636, allocations: 0 / 441.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007916/0.04716, allocations: 307.5 kB / 441.7 MB, free: 1.074 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: 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.1656/0.2128, allocations: 3.318 MB / 445 MB, free: 79.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.2143, allocations: 2.317 MB / 447.3 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.2143, allocations: 3.469 kB / 447.3 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.215, allocations: 1.427 MB / 448.8 MB, free: 77.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.2154, allocations: 104.8 kB / 448.9 MB, free: 77.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.2211, allocations: 8.559 MB / 457.4 MB, free: 71.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2213, allocations: 298.8 kB / 457.7 MB, free: 71.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.2216, allocations: 123.2 kB / 457.8 MB, free: 71.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.2217, allocations: 176.5 kB / 458 MB, free: 71.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2217, allocations: 0 / 458 MB, free: 71.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.2491, allocations: 16.78 MB / 474.8 MB, free: 68.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.573, allocations: 3.156 kB / 474.8 MB, free: 68.64 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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: 9.55039078462869]