Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.001066/0.001066, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002562, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 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.001083/0.001083, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002396, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 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.9037/0.9037, allocations: 177.1 MB / 189.5 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1496/1.053, allocations: 53.67 MB / 243.2 MB, free: 2.387 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07449/0.07449, allocations: 12.66 MB / 256.6 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004446/0.07893, allocations: 4.689 MB / 261.3 MB, free: 0.5742 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 262.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.923e-06/8.867e-06, allocations: 2.312 kB / 262.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.001832/0.001841, allocations: 1.796 MB / 264.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.003962, allocations: 1.897 MB / 266.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.004095, allocations: 11.94 kB / 266.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.004277, allocations: 123 kB / 266.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.004513, allocations: 170.8 kB / 266.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.005556, allocations: 0.8689 MB / 267.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009589/0.006515, allocations: 1.384 MB / 268.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.006669, allocations: 125.5 kB / 268.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008502/0.007519, allocations: 0.8467 MB / 269.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.007935, allocations: 474.7 kB / 270.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.008062, allocations: 140 kB / 270.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000878/0.00894, allocations: 0.9905 MB / 271.3 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.009073, allocations: 179.3 kB / 271.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.009358, allocations: 343.5 kB / 271.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.01049, allocations: 1.457 MB / 273.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.0105, allocations: 0 / 273.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.0105, allocations: 8 kB / 273.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.01051, allocations: 0 / 273.3 MB, free: 4.492 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001288/0.0118, allocations: 1.458 MB / 274.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.01183, allocations: 12.03 kB / 274.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.01197, allocations: 167.8 kB / 274.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.01229, allocations: 305.8 kB / 275.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.01266, allocations: 333.6 kB / 275.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/0.01276, allocations: 201.1 kB / 275.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.01287, allocations: 116 kB / 275.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.01441, allocations: 1.932 MB / 277.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.01443, allocations: 3.984 kB / 277.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.0145, allocations: 63.97 kB / 277.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-05/0.01459, allocations: 89.23 kB / 277.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/0.01545, allocations: 1.076 MB / 279 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.01788, allocations: 3.273 MB / 282.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.01861, allocations: 0.9683 MB / 283.3 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/0.01945, allocations: 0.8799 MB / 284.1 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.01949, allocations: 8 kB / 284.1 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009265/0.02042, allocations: 1.335 MB / 285.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=91): time 1.573e-06/0.02042, allocations: 0 / 285.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.001921/0.02234, allocations: 2.691 MB / 288.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/0.02257, allocations: 0.6496 MB / 288.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.02281, allocations: 462.4 kB / 289.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.02287, allocations: 73.69 kB / 289.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.023, allocations: 333.4 kB / 289.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.02313, allocations: 238.2 kB / 289.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.02335, allocations: 294.6 kB / 290.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.02342, allocations: 329.9 kB / 290.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/0.02398, allocations: 0.5615 MB / 291.1 MB, free: 1.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.02454, allocations: 1.194 MB / 292.3 MB, free: 100 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.0256, allocations: 2 MB / 294.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.02561, allocations: 4 kB / 294.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.001018/0.02662, allocations: 1.564 MB / 295.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.02675, allocations: 337 kB / 296.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.02676, allocations: 12 kB / 296.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.02678, allocations: 23.98 kB / 296.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.02713, allocations: 235.6 kB / 296.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.02715, allocations: 27.88 kB / 296.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.02745, allocations: 170.9 kB / 296.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.02751, allocations: 56 kB / 296.7 MB, free: 11.13 MB / 298.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 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($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.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.inTransition[1].emptied,P1.outTransition[1].fed,P1.enableIn.disTransition[1],P1.reStart,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],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.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[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,$whenCondition1,$whenCondition3,$whenCondition4,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.000708/0.02822, allocations: 0.7509 MB / 297.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.02836, allocations: 155.9 kB / 297.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.0297, allocations: 1.901 MB / 299.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.02971, allocations: 7.984 kB / 299.5 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02971, allocations: 0 / 299.5 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02972, allocations: 7.922 kB / 299.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.03186, allocations: 2.745 MB / 302.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03186, allocations: 0 / 302.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.03196, allocations: 43.92 kB / 302.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.03196, allocations: 8 kB / 302.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/0.03203, allocations: 47.97 kB / 302.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.03204, allocations: 7.938 kB / 302.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03204, allocations: 0 / 302.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.03368, allocations: 2.158 MB / 304.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.03372, allocations: 59.44 kB / 304.6 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.03386, allocations: 87.97 kB / 304.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.03414, allocations: 111.8 kB / 304.8 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/0.03451, allocations: 363 kB / 305.1 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/0.0346, allocations: 63.95 kB / 305.2 MB, free: 2.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.0347, allocations: 136.7 kB / 305.3 MB, free: 2.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0347, allocations: 0 / 305.3 MB, free: 2.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000658/0.03536, allocations: 495.3 kB / 305.8 MB, free: 1.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,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.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.0007291/0.03609, allocations: 1.046 MB / 306.8 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.03757, allocations: 2.373 MB / 309.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/0.03758, allocations: 8.5 kB / 309.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.0386, allocations: 1.603 MB / 310.8 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.03894, allocations: 165.9 kB / 311 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.0433, allocations: 5.629 MB / 316.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.04341, allocations: 201 kB / 316.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.04358, allocations: 97.86 kB / 316.9 MB, free: 5.641 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007821/0.04437, allocations: 0.5773 MB / 317.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04437, allocations: 0 / 317.5 MB, free: 5.062 MB / 314.7 MB Notification: FMU-only work: backend 0.0001096, simCode 0.001967, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1976/0.242, allocations: 31.64 MB / 349.1 MB, free: 64.35 MB / 330.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.777/3.019, allocations: 15.09 kB / 349.1 MB, free: 64.34 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv --output-variables P1.t T1.active T1.fire 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_DisLoopAndArcweight.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.004 ../PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,T1.fire,time Variables in the result:time,P1.color[1],P1.color[3],P1.inTransition[1].decreasingFactor,P1.inTransition[1].maxTokens filterSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode.diff.mat", vars={"T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.6051430106163025]