Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001016/0.001016, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001168/0.001168, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.9815/0.9815, 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.0496/0.0496, allocations: 12.64 MB / 271.8 MB, free: 0.7344 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.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 403 MB, free: 9.883 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.909e-05, allocations: 2.281 kB / 403 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002422/0.002451, allocations: 1.746 MB / 404.8 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.005017, allocations: 1.882 MB / 406.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.005242, allocations: 7.938 kB / 406.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.005556, allocations: 119 kB / 406.8 MB, free: 6.113 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.005879, allocations: 143 kB / 406.9 MB, free: 5.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.00726, allocations: 0.9548 MB / 407.9 MB, free: 5.016 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.008367, allocations: 1.349 MB / 409.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.008642, allocations: 65.25 kB / 409.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.009244, allocations: 0.7681 MB / 410 MB, free: 2.824 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.009725, allocations: 319 kB / 410.4 MB, free: 2.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.264e-05/0.009817, allocations: 88 kB / 410.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/0.01049, allocations: 0.6044 MB / 411 MB, free: 1.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.01064, allocations: 151.3 kB / 411.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.01087, allocations: 283.4 kB / 411.5 MB, free: 1.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.01209, allocations: 1.36 MB / 412.8 MB, free: 32 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.01209, allocations: 4 kB / 412.8 MB, free: 28 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.0121, allocations: 0 / 412.8 MB, free: 28 kB / 378.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.01211, allocations: 0 / 412.8 MB, free: 28 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001297/0.0134, allocations: 1.202 MB / 414 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.01345, allocations: 12.03 kB / 414.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.01357, allocations: 118.7 kB / 414.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.01379, allocations: 92.5 kB / 414.3 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.01423, allocations: 381.5 kB / 414.6 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.01433, allocations: 112.8 kB / 414.7 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.0144, allocations: 79.98 kB / 414.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.01629, allocations: 1.785 MB / 416.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01631, allocations: 7.938 kB / 416.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.01636, allocations: 39.97 kB / 416.6 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.502e-05/0.01644, allocations: 56.95 kB / 416.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.01754, allocations: 1.223 MB / 417.9 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.02004, allocations: 2.997 MB / 420.9 MB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/0.02095, allocations: 0.9917 MB / 421.9 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.02193, allocations: 0.9064 MB / 422.8 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.02198, allocations: 8.172 kB / 422.8 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.02299, allocations: 1.267 MB / 424.1 MB, free: 4.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 2.455e-06/0.023, allocations: 0 / 424.1 MB, free: 4.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=73): time 0.002833/0.02583, allocations: 3.344 MB / 427.4 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000226/0.02606, allocations: 0.5561 MB / 428 MB, free: 15.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.0264, allocations: 429.2 kB / 428.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.02646, allocations: 73.72 kB / 428.5 MB, free: 15.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.0266, allocations: 261 kB / 428.7 MB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.02672, allocations: 198.6 kB / 428.9 MB, free: 14.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.02692, allocations: 222.5 kB / 429.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003439/0.02727, allocations: 378.7 kB / 429.5 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.02784, allocations: 0.7451 MB / 430.3 MB, free: 13.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.02858, allocations: 1.214 MB / 431.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.03053, allocations: 2.526 MB / 434 MB, free: 9.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.03053, allocations: 0 / 434 MB, free: 9.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002099/0.03263, allocations: 2.151 MB / 436.2 MB, free: 6.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.0328, allocations: 329 kB / 436.5 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.03282, allocations: 15.94 kB / 436.5 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/0.03285, allocations: 17.03 kB / 436.5 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.03314, allocations: 119.7 kB / 436.6 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.03316, allocations: 27.94 kB / 436.7 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/0.03665, allocations: 135.2 kB / 436.8 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/0.03673, allocations: 52 kB / 436.8 MB, free: 6.223 MB / 410.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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,$PRE.P1.tokeninout,P1.outTransition[1].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.arcWeight[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.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[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 (130): * Single equations (assignments): 119 * 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.0008895/0.03762, allocations: 0.7491 MB / 437.6 MB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.03776, allocations: 79.66 kB / 437.7 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/0.04357, allocations: 2.317 MB / 440 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.04359, allocations: 4 kB / 440 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.0436, allocations: 0 / 440 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.0436, allocations: 0 / 440 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2033/0.2469, allocations: 2.952 MB / 442.9 MB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.2469, allocations: 3.328 kB / 442.9 MB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.247, allocations: 24.59 kB / 443 MB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.247, allocations: 0 / 443 MB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.2471, allocations: 47.5 kB / 443 MB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2471, allocations: 0 / 443 MB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2471, allocations: 3.031 kB / 443 MB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.2493, allocations: 2.783 MB / 445.8 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.2494, allocations: 53.89 kB / 445.9 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2495, allocations: 76.28 kB / 445.9 MB, free: 79.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.2498, allocations: 71 kB / 446 MB, free: 79.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.2501, allocations: 331.5 kB / 446.3 MB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.2502, allocations: 46.98 kB / 446.4 MB, free: 79.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.2503, allocations: 256.4 kB / 446.6 MB, free: 79.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2503, allocations: 0 / 446.6 MB, free: 79.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007633/0.2511, allocations: 334.1 kB / 446.9 MB, free: 79.05 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.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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.002739/0.2539, allocations: 3.613 MB / 450.6 MB, free: 77.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.2558, allocations: 2.604 MB / 453.2 MB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.2559, allocations: 0 / 453.2 MB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.2568, allocations: 1.579 MB / 454.7 MB, free: 74.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.2572, allocations: 109.2 kB / 454.8 MB, free: 74.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.2637, allocations: 9.488 MB / 464.3 MB, free: 68.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.2639, allocations: 320.5 kB / 464.6 MB, free: 67.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.2641, allocations: 143.3 kB / 464.8 MB, free: 67.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.2643, allocations: 192.2 kB / 465 MB, free: 67.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2643, allocations: 5.5 kB / 465 MB, free: 67.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09235/0.3566, allocations: 19.48 MB / 484.5 MB, free: 64.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.929, allocations: 3.406 kB / 484.5 MB, free: 64.62 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTT_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTT_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_PDtoTT.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.PDtoTT_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.PDtoTT_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTT_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.PDtoTT_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_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.PDtoTT.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.77353506628424]