Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.001041/0.001041, 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.00101/0.00101, 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.905/0.905, 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.0489/0.0489, allocations: 12.66 MB / 271.9 MB, free: 0.7695 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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 403.8 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.647e-05, allocations: 2.281 kB / 403.8 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002081/0.002097, allocations: 1.739 MB / 405.6 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.004624, allocations: 1.846 MB / 407.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.004783, allocations: 11.94 kB / 407.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.00509, allocations: 119 kB / 407.5 MB, free: 5.359 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.00538, allocations: 135.1 kB / 407.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.00644, allocations: 0.9498 MB / 408.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008657/0.007305, allocations: 1.342 MB / 410 MB, free: 2.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.007444, allocations: 64.39 kB / 410 MB, free: 2.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005124/0.007957, allocations: 0.7448 MB / 410.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.008266, allocations: 279.1 kB / 411 MB, free: 1.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.125e-05/0.008337, allocations: 72 kB / 411.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.008846, allocations: 0.5965 MB / 411.7 MB, free: 1.176 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.008974, allocations: 135.3 kB / 411.8 MB, free: 1.043 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.009167, allocations: 239.4 kB / 412.1 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.01002, allocations: 1.192 MB / 413.3 MB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01002, allocations: 0 / 413.3 MB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01002, allocations: 0 / 413.3 MB, free: 15.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01003, allocations: 0 / 413.3 MB, free: 15.61 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001079/0.01111, allocations: 1.14 MB / 414.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.01114, allocations: 12.03 kB / 414.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.01125, allocations: 114.7 kB / 414.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.01143, allocations: 80.56 kB / 414.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.0118, allocations: 352.7 kB / 415 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.01189, allocations: 100.7 kB / 415.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.01196, allocations: 67.98 kB / 415.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.01325, allocations: 1.548 MB / 416.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01326, allocations: 4 kB / 416.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.01331, allocations: 31.98 kB / 416.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.01336, allocations: 48.97 kB / 416.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.01431, allocations: 1.048 MB / 417.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.01637, allocations: 2.704 MB / 420.5 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.01724, allocations: 0.867 MB / 421.4 MB, free: 7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/0.01787, allocations: 0.7775 MB / 422.1 MB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.01792, allocations: 4.234 kB / 422.1 MB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008717/0.01879, allocations: 1.103 MB / 423.3 MB, free: 4.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 1.513e-06/0.01879, allocations: 3.938 kB / 423.3 MB, free: 4.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=73): time 0.002383/0.02118, allocations: 2.865 MB / 426.1 MB, free: 1.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.02136, allocations: 0.5326 MB / 426.7 MB, free: 1.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.02161, allocations: 392.1 kB / 427 MB, free: 0.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.02166, allocations: 69.69 kB / 427.1 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.02178, allocations: 241.2 kB / 427.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.02189, allocations: 190.6 kB / 427.5 MB, free: 424 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.02205, allocations: 202.5 kB / 427.7 MB, free: 216 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.02217, allocations: 366.8 kB / 428.1 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.02258, allocations: 0.5929 MB / 428.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/0.02315, allocations: 1.047 MB / 429.7 MB, free: 13.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.02461, allocations: 2.053 MB / 431.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.02462, allocations: 0 / 431.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001382/0.026, allocations: 1.784 MB / 433.6 MB, free: 9.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.02613, allocations: 313 kB / 433.9 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.02614, allocations: 12 kB / 433.9 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.02617, allocations: 16 kB / 433.9 MB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.02637, allocations: 108.4 kB / 434 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.02638, allocations: 27.92 kB / 434 MB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.0266, allocations: 111.3 kB / 434.1 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.02665, allocations: 51.94 kB / 434.2 MB, free: 8.938 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: 47 * 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,P1.enableIn.arcWeight[1],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.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 (123): * Single equations (assignments): 113 * 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.0004857/0.02714, allocations: 0.7117 MB / 434.9 MB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.02721, allocations: 67.72 kB / 435 MB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.02885, allocations: 1.911 MB / 436.9 MB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.02886, allocations: 4 kB / 436.9 MB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.02886, allocations: 0 / 436.9 MB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02887, allocations: 3.938 kB / 436.9 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.0312, allocations: 2.675 MB / 439.6 MB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.03121, allocations: 4 kB / 439.6 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.03126, allocations: 19.98 kB / 439.6 MB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.03127, allocations: 4 kB / 439.6 MB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.03132, allocations: 43.91 kB / 439.6 MB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.03132, allocations: 0 / 439.6 MB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.03133, allocations: 3.984 kB / 439.6 MB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.03332, allocations: 2.449 MB / 442.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.03336, allocations: 43.59 kB / 442.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.03348, allocations: 71.92 kB / 442.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.03366, allocations: 55.95 kB / 442.2 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.03379, allocations: 83.91 kB / 442.3 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.03385, allocations: 43.98 kB / 442.4 MB, free: 388 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.03401, allocations: 227 kB / 442.6 MB, free: 160 kB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03401, allocations: 0 / 442.6 MB, free: 160 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.1426/0.1766, allocations: 312 kB / 442.9 MB, free: 77.47 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: 66 ($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.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 (35): * Single equations (assignments): 23 * 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.002324/0.1789, allocations: 3.259 MB / 446.2 MB, free: 76.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.1802, allocations: 2.275 MB / 448.4 MB, free: 75.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1802, allocations: 0 / 448.4 MB, free: 75.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.1809, allocations: 1.402 MB / 449.8 MB, free: 74.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.1813, allocations: 106.5 kB / 449.9 MB, free: 74.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.1863, allocations: 8.482 MB / 458.4 MB, free: 68.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.1865, allocations: 298 kB / 458.7 MB, free: 68.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.1867, allocations: 128 kB / 458.8 MB, free: 68.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1868, allocations: 182.1 kB / 459 MB, free: 68.24 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1868, allocations: 0 / 459 MB, free: 68.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07677/0.2636, allocations: 16.82 MB / 475.8 MB, free: 65.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.804, allocations: 7.422 kB / 475.8 MB, free: 65.52 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TDtoPD_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_TDtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.509893204085529]