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.001002/0.001002, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001033/0.001033, allocations: 165.8 kB / 22.45 MB, free: 2.109 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.9941/0.9941, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.04913/0.04913, allocations: 12.64 MB / 271.8 MB, free: 0.7305 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: 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.273e-06/1.273e-06, allocations: 0 / 403 MB, free: 8.703 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.35e-05, allocations: 2.281 kB / 403 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.001855/0.001869, allocations: 1.731 MB / 404.8 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.004104, allocations: 1.893 MB / 406.6 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.004246, allocations: 7.938 kB / 406.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.00445, allocations: 115.1 kB / 406.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.004668, allocations: 139 kB / 406.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.005644, allocations: 0.9547 MB / 407.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.006496, allocations: 1.346 MB / 409.2 MB, free: 2.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.006615, allocations: 64.34 kB / 409.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005275/0.007143, allocations: 0.7526 MB / 410 MB, free: 1.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.007447, allocations: 275.1 kB / 410.3 MB, free: 1.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.007519, allocations: 72 kB / 410.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.00804, allocations: 0.5927 MB / 410.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.00815, allocations: 143.3 kB / 411.1 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.008336, allocations: 235.4 kB / 411.3 MB, free: 384 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1326/0.141, allocations: 1.184 MB / 412.5 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.141, allocations: 1.125 kB / 412.5 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.141, allocations: 0 / 412.5 MB, free: 17.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.141, allocations: 1.156 kB / 412.5 MB, free: 17.89 MB / 330.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.001106/0.1421, allocations: 1.134 MB / 413.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1421, allocations: 10.19 kB / 413.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.865e-05/0.1422, allocations: 110.7 kB / 413.8 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.1424, allocations: 88.86 kB / 413.8 MB, free: 17.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.1428, allocations: 351.3 kB / 414.2 MB, free: 16.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.1429, allocations: 99.36 kB / 414.3 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.1429, allocations: 72.05 kB / 414.4 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1442, allocations: 1.547 MB / 415.9 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1442, allocations: 7.062 kB / 415.9 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.1443, allocations: 33.14 kB / 415.9 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.1443, allocations: 45.33 kB / 416 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/0.1453, allocations: 1.035 MB / 417 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.1475, allocations: 2.692 MB / 419.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.1484, allocations: 0.8595 MB / 420.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/0.1492, allocations: 0.7617 MB / 421.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.223e-05/0.1493, allocations: 10.44 kB / 421.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.1506, allocations: 1.103 MB / 422.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.146e-06/0.1506, allocations: 0 / 422.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.002805/0.1534, allocations: 2.858 MB / 425.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.1536, allocations: 0.5327 MB / 425.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.154, allocations: 391.9 kB / 426.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.154, allocations: 64 kB / 426.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1541, allocations: 247.1 kB / 426.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1542, allocations: 182.8 kB / 426.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.1544, allocations: 197.1 kB / 426.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.1545, allocations: 377 kB / 427.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.1549, allocations: 0.5852 MB / 427.8 MB, free: 8.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.1555, allocations: 1.029 MB / 428.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.1569, allocations: 2.016 MB / 430.9 MB, free: 6.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.1569, allocations: 3.312 kB / 430.9 MB, free: 6.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001429/0.1584, allocations: 1.757 MB / 432.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-05/0.1585, allocations: 310.9 kB / 433 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.1585, allocations: 10.94 kB / 433 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.1585, allocations: 15.91 kB / 433 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.1587, allocations: 110.2 kB / 433.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.1588, allocations: 20.16 kB / 433.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.159, allocations: 105.2 kB / 433.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.1591, allocations: 49.05 kB / 433.3 MB, free: 4.703 MB / 330.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.0006521/0.1597, allocations: 0.7126 MB / 434 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1599, allocations: 67.64 kB / 434 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.1617, allocations: 1.907 MB / 435.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1617, allocations: 4.406 kB / 435.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1617, allocations: 1.438 kB / 436 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1617, allocations: 1.781 kB / 436 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.1638, allocations: 2.475 MB / 438.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1638, allocations: 3.938 kB / 438.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.1639, allocations: 24.67 kB / 438.5 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1639, allocations: 6.625 kB / 438.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.1639, allocations: 38.16 kB / 438.5 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1639, allocations: 1.406 kB / 438.5 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1639, allocations: 3.938 kB / 438.5 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.166, allocations: 2.433 MB / 440.9 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1661, allocations: 50.8 kB / 441 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.1662, allocations: 67.47 kB / 441.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1664, allocations: 54.25 kB / 441.1 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.1665, allocations: 83.45 kB / 441.2 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.1666, allocations: 43.55 kB / 441.2 MB, free: 488 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1667, allocations: 229.5 kB / 441.5 MB, free: 364 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1667, allocations: 0 / 441.5 MB, free: 364 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001105/0.1678, allocations: 300.8 kB / 441.7 MB, free: 312 kB / 330.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.003123/0.171, allocations: 3.27 MB / 445 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.1729, allocations: 2.262 MB / 447.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1729, allocations: 0 / 447.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009658/0.1739, allocations: 1.4 MB / 448.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.1744, allocations: 101.8 kB / 448.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/0.1818, allocations: 8.311 MB / 457.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.182, allocations: 291.7 kB / 457.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.1823, allocations: 129.3 kB / 457.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.1825, allocations: 168.4 kB / 457.7 MB, free: 460 kB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1825, allocations: 0 / 457.7 MB, free: 460 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08532/0.2678, allocations: 16.72 MB / 474.4 MB, free: 15.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.734, allocations: 7.797 kB / 474.4 MB, free: 15.84 MB / 378.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] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.593491476029158]