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.001028/0.001028, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.001019/0.001019, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.9797/0.9797, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.04984/0.04984, allocations: 12.66 MB / 271.9 MB, free: 0.7617 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 403.8 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.911e-05, allocations: 6.219 kB / 403.8 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.002038/0.002057, allocations: 1.731 MB / 405.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.004233, allocations: 1.886 MB / 407.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.004399, allocations: 7.938 kB / 407.5 MB, free: 5.441 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.004666, allocations: 119.1 kB / 407.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.004951, allocations: 139 kB / 407.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.006147, allocations: 0.9586 MB / 408.7 MB, free: 4.227 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009165/0.007063, allocations: 1.33 MB / 410 MB, free: 2.895 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.007201, allocations: 68.33 kB / 410.1 MB, free: 2.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005407/0.007742, allocations: 0.7448 MB / 410.8 MB, free: 2.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.008099, allocations: 283.1 kB / 411.1 MB, free: 1.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.00818, allocations: 72 kB / 411.2 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005415/0.008722, allocations: 0.5926 MB / 411.7 MB, free: 1.133 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.008844, allocations: 143.3 kB / 411.9 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.009041, allocations: 235.4 kB / 412.1 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008536/0.009894, allocations: 1.192 MB / 413.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.009898, allocations: 4 kB / 413.3 MB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.009899, allocations: 7.938 kB / 413.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.009907, allocations: 0 / 413.3 MB, free: 15.55 MB / 394.7 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.001079/0.01099, allocations: 1.127 MB / 414.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01102, allocations: 8.031 kB / 414.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.931e-05/0.01112, allocations: 114.7 kB / 414.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.0113, allocations: 88.52 kB / 414.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.01166, allocations: 349.6 kB / 415 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.01174, allocations: 104.7 kB / 415.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.01181, allocations: 67.98 kB / 415.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.01307, allocations: 1.54 MB / 416.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.01309, allocations: 3.938 kB / 416.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.01314, allocations: 35.97 kB / 416.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.01319, allocations: 44.97 kB / 416.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009061/0.01409, allocations: 1.028 MB / 417.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.01622, allocations: 2.704 MB / 420.5 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/0.01696, allocations: 0.8624 MB / 421.4 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007261/0.01769, allocations: 0.769 MB / 422.2 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.01773, allocations: 11.98 kB / 422.2 MB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008473/0.01858, allocations: 1.115 MB / 423.3 MB, free: 4.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 1.634e-06/0.01858, allocations: 0 / 423.3 MB, free: 4.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.00254/0.02112, allocations: 2.854 MB / 426.1 MB, free: 1.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.0213, allocations: 0.5364 MB / 426.7 MB, free: 1.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.02155, allocations: 392.1 kB / 427.1 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.0216, allocations: 61.7 kB / 427.1 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.02171, allocations: 241.2 kB / 427.3 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.02181, allocations: 186.7 kB / 427.5 MB, free: 412 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.02197, allocations: 198.6 kB / 427.7 MB, free: 208 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.02208, allocations: 374.8 kB / 428.1 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.02247, allocations: 0.589 MB / 428.7 MB, free: 15.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.02302, allocations: 1.022 MB / 429.7 MB, free: 13.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.02442, allocations: 2.009 MB / 431.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.02442, allocations: 0 / 431.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001514/0.02594, allocations: 1.756 MB / 433.5 MB, free: 9.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.02605, allocations: 317 kB / 433.8 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.02606, allocations: 8.844 kB / 433.8 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.02607, allocations: 19.94 kB / 433.8 MB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.02626, allocations: 107.7 kB / 433.9 MB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.02627, allocations: 23.92 kB / 433.9 MB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.02648, allocations: 107.3 kB / 434 MB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.02652, allocations: 48 kB / 434.1 MB, free: 9.043 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: 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.0004533/0.02698, allocations: 0.6977 MB / 434.8 MB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.02705, allocations: 75.66 kB / 434.9 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.02866, allocations: 1.907 MB / 436.8 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.02866, allocations: 4 kB / 436.8 MB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.02867, allocations: 0 / 436.8 MB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02867, allocations: 3.938 kB / 436.8 MB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.03083, allocations: 2.468 MB / 439.2 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.03083, allocations: 8 kB / 439.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.03089, allocations: 27.92 kB / 439.3 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.03089, allocations: 0 / 439.3 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.03094, allocations: 35.98 kB / 439.3 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.03094, allocations: 11.92 kB / 439.3 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.03095, allocations: 0 / 439.3 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.0328, allocations: 2.425 MB / 441.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.03284, allocations: 47.58 kB / 441.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.03294, allocations: 67.98 kB / 441.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.03312, allocations: 59.89 kB / 441.9 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.03326, allocations: 87.84 kB / 442 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.03331, allocations: 39.97 kB / 442 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.03345, allocations: 231 kB / 442.3 MB, free: 500 kB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03345, allocations: 0 / 442.3 MB, free: 500 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005342/0.03399, allocations: 315.4 kB / 442.6 MB, free: 184 kB / 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: 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.1324/0.1664, allocations: 3.245 MB / 445.8 MB, free: 79.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.1677, allocations: 2.264 MB / 448.1 MB, free: 77.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1677, allocations: 0 / 448.1 MB, free: 77.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.1684, allocations: 1.403 MB / 449.5 MB, free: 76.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1688, allocations: 105.5 kB / 449.6 MB, free: 76.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.1738, allocations: 8.305 MB / 457.9 MB, free: 71.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.174, allocations: 299.9 kB / 458.2 MB, free: 71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.1742, allocations: 121.6 kB / 458.3 MB, free: 70.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1743, allocations: 179.5 kB / 458.5 MB, free: 70.87 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1743, allocations: 0 / 458.5 MB, free: 70.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07905/0.2534, allocations: 16.72 MB / 475.2 MB, free: 68.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.042, allocations: 6.906 kB / 475.2 MB, free: 68.14 MB / 410.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TTtoPD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_DisTest_TTtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.768804971128702]