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.001004/0.001004, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002478, 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.001054/0.001054, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002375, 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.911/0.911, allocations: 177.2 MB / 189.5 MB, free: 3.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1414/1.052, allocations: 53.66 MB / 243.2 MB, free: 2.359 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.04872/0.04872, allocations: 12.66 MB / 256.6 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006951/0.05567, allocations: 4.69 MB / 261.3 MB, free: 0.543 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.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 262.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.721e-05, allocations: 2.312 kB / 262.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.001941/0.001958, allocations: 1.801 MB / 264.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.00431, allocations: 1.932 MB / 266.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.004484, allocations: 11.94 kB / 266.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.004678, allocations: 111.1 kB / 266.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.004914, allocations: 150.9 kB / 266.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.006089, allocations: 0.8806 MB / 267.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.007158, allocations: 1.31 MB / 268.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.007303, allocations: 65.89 kB / 268.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006172/0.00792, allocations: 0.7922 MB / 269.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.008314, allocations: 319 kB / 269.9 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.008406, allocations: 88 kB / 270 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006468/0.009053, allocations: 0.6356 MB / 270.6 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.009173, allocations: 127.5 kB / 270.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.009373, allocations: 227.6 kB / 270.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008218/0.0102, allocations: 0.9426 MB / 271.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.0102, allocations: 0 / 271.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01021, allocations: 0 / 271.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.01022, allocations: 0 / 271.9 MB, free: 5.891 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001207/0.01143, allocations: 1.184 MB / 273.1 MB, free: 4.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.01146, allocations: 12.03 kB / 273.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.982e-05/0.01155, allocations: 118.6 kB / 273.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.0118, allocations: 229.9 kB / 273.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.01209, allocations: 273.9 kB / 273.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.01217, allocations: 116.8 kB / 273.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.01224, allocations: 87.91 kB / 273.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.01319, allocations: 1.351 MB / 275.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.0132, allocations: 4 kB / 275.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.01325, allocations: 43.97 kB / 275.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/0.01331, allocations: 52.95 kB / 275.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.0139, allocations: 0.779 MB / 276.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.01575, allocations: 2.607 MB / 278.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.01642, allocations: 0.7975 MB / 279.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.01684, allocations: 0.6476 MB / 280.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.01687, allocations: 12.17 kB / 280.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008281/0.0177, allocations: 1.005 MB / 281.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 1.663e-06/0.0177, allocations: 0 / 281.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.001382/0.01908, allocations: 2.035 MB / 283.2 MB, free: 9.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/0.01927, allocations: 0.5598 MB / 283.8 MB, free: 9.059 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.01948, allocations: 374.9 kB / 284.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.01953, allocations: 65.69 kB / 284.2 MB, free: 8.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01963, allocations: 241.4 kB / 284.4 MB, free: 8.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.01974, allocations: 202.5 kB / 284.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.01992, allocations: 230.3 kB / 284.9 MB, free: 7.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.02001, allocations: 374.6 kB / 285.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.0203, allocations: 0.4942 MB / 285.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.02087, allocations: 0.9481 MB / 286.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.02176, allocations: 1.636 MB / 288.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.02177, allocations: 3.938 kB / 288.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.000901/0.02267, allocations: 1.347 MB / 289.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.0228, allocations: 333 kB / 290 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.02281, allocations: 12 kB / 290 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.02283, allocations: 16 kB / 290 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.02312, allocations: 187.6 kB / 290.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.02314, allocations: 23.94 kB / 290.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.02339, allocations: 135.7 kB / 290.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.02345, allocations: 51.97 kB / 290.4 MB, free: 1.59 MB / 282.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,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,$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],P1.enableOut.arcWeight[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,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * 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.0004367/0.02388, allocations: 0.6666 MB / 291.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.02399, allocations: 115.9 kB / 291.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008418/0.02483, allocations: 1.179 MB / 292.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.02484, allocations: 4 kB / 292.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02485, allocations: 7.922 kB / 292.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.02485, allocations: 0 / 292.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.02616, allocations: 1.713 MB / 294.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02616, allocations: 0 / 294.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.02624, allocations: 31.98 kB / 294.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02624, allocations: 4 kB / 294.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.0263, allocations: 43.97 kB / 294.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.0263, allocations: 3.938 kB / 294.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0263, allocations: 0 / 294.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.02737, allocations: 1.69 MB / 295.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.02741, allocations: 47.59 kB / 295.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.02752, allocations: 75.95 kB / 296 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.02773, allocations: 71.95 kB / 296 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.02807, allocations: 310.5 kB / 296.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.02813, allocations: 43.97 kB / 296.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.901e-05/0.02821, allocations: 116.7 kB / 296.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02821, allocations: 0 / 296.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005552/0.02877, allocations: 347.5 kB / 296.8 MB, free: 10.75 MB / 298.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.001689/0.03046, allocations: 2.471 MB / 299.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.03176, allocations: 2.022 MB / 301.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.03177, allocations: 4 kB / 301.3 MB, free: 5.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.03251, allocations: 1.318 MB / 302.7 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.03281, allocations: 127.2 kB / 302.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.0365, allocations: 4.56 MB / 307.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.883e-05/0.03659, allocations: 159.7 kB / 307.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.03674, allocations: 76.5 kB / 307.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006091/0.03735, allocations: 451.1 kB / 308 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03735, allocations: 0 / 308 MB, free: 14.66 MB / 314.7 MB Notification: FMU-only work: backend 0.001167, simCode 0.001864, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09566/0.133, allocations: 24.04 MB / 332.1 MB, free: 6.473 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.744/2.877, allocations: 25.81 kB / 332.1 MB, free: 6.449 MB / 330.7 MB " [Timeout remaining time 657] (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: 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.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: 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.PDtoTT.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTT_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_PDtoTT_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:time,P1.color[1],P1.color[3],P1.levelCon,P1.outTransition[1].decreasingFactor filterSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_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.PDtoTT_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_fmpy-fmi3-cs-cvode.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-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.47208852134645]