Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.0009551/0.0009551, 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.001649/0.001649, allocations: 169.8 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.9526/0.9526, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.05016/0.05016, allocations: 12.65 MB / 271.8 MB, free: 0.7227 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.87e-05/2.027e-05, allocations: 2.281 kB / 403 MB, free: 8.684 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002115/0.002135, allocations: 1.72 MB / 404.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.004434, allocations: 1.862 MB / 406.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.004597, allocations: 7.938 kB / 406.6 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.004881, allocations: 115 kB / 406.7 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.005246, allocations: 143 kB / 406.9 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.006427, allocations: 0.9497 MB / 407.8 MB, free: 3.879 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.007329, allocations: 1.353 MB / 409.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.007478, allocations: 73.17 kB / 409.2 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.008005, allocations: 0.7604 MB / 410 MB, free: 1.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.008346, allocations: 315 kB / 410.3 MB, free: 1.379 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.008428, allocations: 91.94 kB / 410.4 MB, free: 1.289 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.009001, allocations: 0.6122 MB / 411 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.009134, allocations: 159.3 kB / 411.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.009358, allocations: 287.3 kB / 411.4 MB, free: 244 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1365/0.1459, allocations: 1.342 MB / 412.8 MB, free: 17.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1459, allocations: 0 / 412.8 MB, free: 17.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1459, allocations: 0 / 412.8 MB, free: 17.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1459, allocations: 1.094 kB / 412.8 MB, free: 17.53 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001321/0.1472, allocations: 1.208 MB / 414 MB, free: 16.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1472, allocations: 8.594 kB / 414 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.1474, allocations: 122.4 kB / 414.1 MB, free: 16.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.1476, allocations: 96.38 kB / 414.2 MB, free: 16.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.148, allocations: 371.9 kB / 414.6 MB, free: 16.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.779e-05/0.1481, allocations: 116.1 kB / 414.7 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.1482, allocations: 78.33 kB / 414.8 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.1498, allocations: 1.791 MB / 416.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1498, allocations: 4.469 kB / 416.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.395e-05/0.1499, allocations: 43.88 kB / 416.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.288e-05/0.15, allocations: 57.45 kB / 416.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.1512, allocations: 1.25 MB / 417.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1536, allocations: 3.017 MB / 420.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1547, allocations: 1.059 MB / 422 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/0.1555, allocations: 0.9391 MB / 422.9 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/0.1555, allocations: 11.81 kB / 422.9 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.1566, allocations: 1.311 MB / 424.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 2.485e-06/0.1566, allocations: 3.281 kB / 424.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=77): time 0.003158/0.1597, allocations: 3.431 MB / 427.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.1599, allocations: 0.5313 MB / 428.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.1603, allocations: 420.2 kB / 428.6 MB, free: 8.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.1603, allocations: 70.2 kB / 428.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1605, allocations: 264 kB / 429 MB, free: 8.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1606, allocations: 202.9 kB / 429.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.1608, allocations: 226.9 kB / 429.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.1609, allocations: 374.4 kB / 429.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.1614, allocations: 0.7482 MB / 430.5 MB, free: 7.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.1621, allocations: 1.198 MB / 431.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.164, allocations: 2.57 MB / 434.3 MB, free: 4.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.164, allocations: 3.656 kB / 434.3 MB, free: 4.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002075/0.1661, allocations: 2.172 MB / 436.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.1662, allocations: 330.8 kB / 436.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.1663, allocations: 13.25 kB / 436.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.1663, allocations: 16.5 kB / 436.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.1665, allocations: 123.1 kB / 436.9 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.1666, allocations: 27.77 kB / 436.9 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.1669, allocations: 127 kB / 437.1 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.767e-05/0.167, allocations: 58.39 kB / 437.1 MB, free: 2.871 MB / 330.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableOut.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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * 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.0008029/0.1678, allocations: 0.7531 MB / 437.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.168, allocations: 80.08 kB / 437.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.1704, allocations: 2.398 MB / 440.3 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.1704, allocations: 7.844 kB / 440.3 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1704, allocations: 0 / 440.3 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1704, allocations: 7.594 kB / 440.4 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.1734, allocations: 3.232 MB / 443.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1734, allocations: 0 / 443.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.716e-05/0.1735, allocations: 35.47 kB / 443.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1735, allocations: 6.297 kB / 443.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.1736, allocations: 40.48 kB / 443.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1736, allocations: 2.188 kB / 443.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1736, allocations: 1.812 kB / 443.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.1762, allocations: 2.863 MB / 446.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.1763, allocations: 51.55 kB / 446.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.1765, allocations: 79.97 kB / 446.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.1767, allocations: 75.59 kB / 446.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/0.1771, allocations: 329 kB / 447.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.1772, allocations: 43.97 kB / 447.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001944/0.1774, allocations: 251.2 kB / 447.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1774, allocations: 0 / 447.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009873/0.1784, allocations: 340.9 kB / 447.7 MB, free: 11.19 MB / 346.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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * 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.003194/0.1816, allocations: 3.697 MB / 451.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.1838, allocations: 2.628 MB / 454 MB, free: 4.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.1838, allocations: 0 / 454 MB, free: 4.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.185, allocations: 1.617 MB / 455.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1854, allocations: 116 kB / 455.7 MB, free: 2.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008946/0.1943, allocations: 9.655 MB / 465.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1946, allocations: 325.5 kB / 465.7 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.1948, allocations: 142.3 kB / 465.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.195, allocations: 188.4 kB / 466 MB, free: 7.656 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.195, allocations: 0 / 466 MB, free: 7.656 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08758/0.2826, allocations: 19.64 MB / 485.7 MB, free: 4.164 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.154, allocations: 11.59 kB / 485.7 MB, free: 4.156 MB / 378.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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.PDtoTDfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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.PDtoTDfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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.PDtoTDfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.909599551931024]