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.0007933/0.0007933, 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.000879/0.000879, 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.9158/0.9158, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.05286/0.05286, allocations: 12.64 MB / 271.8 MB, free: 0.6992 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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.099e-05, allocations: 2.281 kB / 402.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002338/0.002359, allocations: 1.749 MB / 404 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.005307, allocations: 1.851 MB / 405.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.005559, allocations: 11.94 kB / 405.9 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.00587, allocations: 115 kB / 406 MB, free: 6.906 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.006193, allocations: 139 kB / 406.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.007742, allocations: 0.94 MB / 407 MB, free: 5.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.009081, allocations: 1.338 MB / 408.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.00925, allocations: 52.42 kB / 408.4 MB, free: 4.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.009934, allocations: 0.7643 MB / 409.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.01033, allocations: 283.1 kB / 409.5 MB, free: 3.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.01041, allocations: 72 kB / 409.5 MB, free: 3.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007182/0.01112, allocations: 0.5926 MB / 410.1 MB, free: 2.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.0113, allocations: 135.3 kB / 410.3 MB, free: 2.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.01153, allocations: 239.4 kB / 410.5 MB, free: 2.355 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.0128, allocations: 1.192 MB / 411.7 MB, free: 1.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.01281, allocations: 4 kB / 411.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01281, allocations: 0 / 411.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.01282, allocations: 0 / 411.7 MB, free: 1.156 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.001624/0.01445, allocations: 1.138 MB / 412.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.01449, allocations: 12.03 kB / 412.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.01459, allocations: 110.7 kB / 413 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.01482, allocations: 84.52 kB / 413 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.01524, allocations: 344.8 kB / 413.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.01535, allocations: 102.3 kB / 413.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.01542, allocations: 67.98 kB / 413.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.01686, allocations: 1.548 MB / 415.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.01688, allocations: 15.92 kB / 415.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.01693, allocations: 35.92 kB / 415.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-05/0.017, allocations: 44.97 kB / 415.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.01804, allocations: 1.04 MB / 416.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.0206, allocations: 2.704 MB / 418.9 MB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.0221, allocations: 0.8708 MB / 419.8 MB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006886/0.02279, allocations: 0.7698 MB / 420.6 MB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/0.02286, allocations: 4.234 kB / 420.6 MB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.02395, allocations: 1.102 MB / 421.7 MB, free: 6.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.02395, allocations: 7.938 kB / 421.7 MB, free: 6.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=73): time 0.00269/0.02664, allocations: 2.862 MB / 424.5 MB, free: 3.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/0.02688, allocations: 0.5403 MB / 425.1 MB, free: 2.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.02722, allocations: 392.1 kB / 425.5 MB, free: 2.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.02727, allocations: 61.69 kB / 425.5 MB, free: 2.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.02741, allocations: 245.2 kB / 425.8 MB, free: 2.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.02752, allocations: 182.7 kB / 425.9 MB, free: 1.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/0.028, allocations: 206.6 kB / 426.1 MB, free: 1.762 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.02811, allocations: 366.8 kB / 426.5 MB, free: 1.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.02853, allocations: 0.5968 MB / 427.1 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.02915, allocations: 1.043 MB / 428.1 MB, free: 15.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.03075, allocations: 2.053 MB / 430.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.03077, allocations: 7.938 kB / 430.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001467/0.03224, allocations: 1.777 MB / 432 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.03236, allocations: 313.9 kB / 432.3 MB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.03238, allocations: 15.98 kB / 432.3 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.0324, allocations: 20 kB / 432.3 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.0326, allocations: 111.7 kB / 432.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.03262, allocations: 23.92 kB / 432.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.03287, allocations: 107.3 kB / 432.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.03292, allocations: 52 kB / 432.6 MB, free: 10.48 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.0008394/0.03376, allocations: 0.6952 MB / 433.3 MB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.03385, allocations: 79.59 kB / 433.4 MB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.03551, allocations: 1.914 MB / 435.3 MB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.03552, allocations: 7.938 kB / 435.3 MB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.03553, allocations: 0 / 435.3 MB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.03553, allocations: 0 / 435.3 MB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.038, allocations: 2.687 MB / 438 MB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.038, allocations: 0 / 438 MB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.03807, allocations: 23.98 kB / 438 MB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.03808, allocations: 4 kB / 438 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/0.03813, allocations: 31.98 kB / 438 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.03813, allocations: 11.92 kB / 438.1 MB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.03813, allocations: 0 / 438.1 MB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.04047, allocations: 2.434 MB / 440.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/0.04054, allocations: 59.53 kB / 440.6 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.04068, allocations: 67.98 kB / 440.6 MB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.04088, allocations: 55.95 kB / 440.7 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.04105, allocations: 79.91 kB / 440.8 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.04111, allocations: 39.98 kB / 440.8 MB, free: 1.934 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.0413, allocations: 231 kB / 441 MB, free: 1.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.0413, allocations: 0 / 441 MB, free: 1.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008739/0.04217, allocations: 311.6 kB / 441.3 MB, free: 1.402 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.1678/0.21, allocations: 3.265 MB / 444.6 MB, free: 79.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.2117, allocations: 2.282 MB / 446.9 MB, free: 78.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2117, allocations: 0 / 446.9 MB, free: 78.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008156/0.2126, allocations: 1.396 MB / 448.3 MB, free: 77.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.213, allocations: 96.94 kB / 448.4 MB, free: 77.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.2192, allocations: 8.477 MB / 456.8 MB, free: 71.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.2194, allocations: 295 kB / 457.1 MB, free: 71.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.2196, allocations: 129.6 kB / 457.3 MB, free: 71.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2198, allocations: 173.6 kB / 457.4 MB, free: 71.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2198, allocations: 0 / 457.4 MB, free: 71.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.2467, allocations: 16.74 MB / 474.2 MB, free: 68.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.634, allocations: 0 / 474.2 MB, free: 68.63 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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_TDtoPD.fmu > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.609940971247852]