Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001071/0.001071, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.00258, 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.001082/0.001082, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002502, 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.8744/0.8744, allocations: 177.1 MB / 189.5 MB, free: 3.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1319/1.006, allocations: 53.65 MB / 243.2 MB, free: 2.371 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.06329/0.06329, allocations: 12.66 MB / 256.6 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006098/0.06938, allocations: 4.695 MB / 261.3 MB, free: 0.5391 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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 262.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.172e-05, allocations: 8.703 kB / 262.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002728/0.00274, allocations: 1.793 MB / 264.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.006013, allocations: 1.905 MB / 266.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.006254, allocations: 7.938 kB / 266.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.009521, allocations: 115 kB / 266.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.009787, allocations: 143 kB / 266.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.01101, allocations: 0.8728 MB / 267.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008395/0.01185, allocations: 1.31 MB / 268.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.01197, allocations: 61.89 kB / 268.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005464/0.01252, allocations: 0.7922 MB / 269.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.01282, allocations: 319 kB / 269.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.0129, allocations: 91.94 kB / 269.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.01349, allocations: 0.6356 MB / 270.5 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.0136, allocations: 131.4 kB / 270.7 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.01383, allocations: 219.7 kB / 270.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.01458, allocations: 0.9387 MB / 271.8 MB, free: 5.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.01459, allocations: 4 kB / 271.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01459, allocations: 0 / 271.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.0146, allocations: 0 / 271.8 MB, free: 5.941 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001048/0.01565, allocations: 1.184 MB / 273 MB, free: 4.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.01568, allocations: 12.03 kB / 273 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.01582, allocations: 134.5 kB / 273.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.01609, allocations: 221.9 kB / 273.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.01644, allocations: 272.8 kB / 273.6 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.01651, allocations: 112.8 kB / 273.7 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.01659, allocations: 76 kB / 273.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.01764, allocations: 1.363 MB / 275.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.01766, allocations: 3.938 kB / 275.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.01772, allocations: 35.98 kB / 275.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-05/0.01779, allocations: 56.95 kB / 275.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.01839, allocations: 0.7898 MB / 276.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.02033, allocations: 2.618 MB / 278.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.02088, allocations: 0.7964 MB / 279.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.0213, allocations: 0.6435 MB / 280.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.02134, allocations: 16 kB / 280.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006832/0.02202, allocations: 1.011 MB / 281.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=75): time 1.443e-06/0.02202, allocations: 0 / 281.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.001376/0.0234, allocations: 2.035 MB / 283.2 MB, free: 9.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/0.02359, allocations: 0.5559 MB / 283.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.02391, allocations: 382.8 kB / 284.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.02396, allocations: 65.69 kB / 284.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.02406, allocations: 245.4 kB / 284.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.02417, allocations: 198.5 kB / 284.6 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.02436, allocations: 226.4 kB / 284.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.02445, allocations: 382.6 kB / 285.2 MB, free: 7.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.02474, allocations: 0.5059 MB / 285.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.02519, allocations: 0.9658 MB / 286.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.02608, allocations: 1.659 MB / 288.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.02609, allocations: 7.938 kB / 288.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.0008786/0.02696, allocations: 1.364 MB / 289.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.02709, allocations: 333 kB / 290 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.0271, allocations: 12.06 kB / 290 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.02712, allocations: 20 kB / 290.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.02742, allocations: 187.9 kB / 290.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.02744, allocations: 31.86 kB / 290.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.02781, allocations: 131.2 kB / 290.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.02786, allocations: 48 kB / 290.5 MB, free: 1.52 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.0004311/0.02829, allocations: 0.6707 MB / 291.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.0284, allocations: 123.8 kB / 291.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008589/0.02926, allocations: 1.182 MB / 292.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.02927, allocations: 4 kB / 292.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.02927, allocations: 4 kB / 292.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02928, allocations: 3.984 kB / 292.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.03068, allocations: 1.824 MB / 294.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.03068, allocations: 0 / 294.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.03075, allocations: 31.91 kB / 294.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.03075, allocations: 4 kB / 294.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.03081, allocations: 39.97 kB / 294.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.03081, allocations: 8 kB / 294.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.03081, allocations: 0 / 294.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.03188, allocations: 1.695 MB / 296 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.03191, allocations: 55.48 kB / 296.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.03202, allocations: 75.97 kB / 296.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.03224, allocations: 71.94 kB / 296.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.03257, allocations: 314.4 kB / 296.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.03263, allocations: 39.98 kB / 296.6 MB, free: 11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.196e-05/0.03271, allocations: 124.7 kB / 296.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03271, allocations: 4 kB / 296.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005169/0.03323, allocations: 335.5 kB / 297 MB, free: 10.54 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: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * 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.001797/0.03503, allocations: 2.485 MB / 299.5 MB, free: 7.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.03619, allocations: 2.045 MB / 301.6 MB, free: 5.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.0362, allocations: 4 kB / 301.6 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.03692, allocations: 1.315 MB / 302.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.03722, allocations: 121.3 kB / 303 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.04073, allocations: 4.608 MB / 307.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.485e-05/0.04082, allocations: 155.9 kB / 307.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.04095, allocations: 72.69 kB / 307.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005903/0.04154, allocations: 455.1 kB / 308.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.04154, allocations: 4 kB / 308.3 MB, free: 14.38 MB / 314.7 MB Notification: FMU-only work: backend 0.001276, simCode 0.001674, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09791/0.1394, allocations: 24.1 MB / 332.4 MB, free: 6.109 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.775/2.915, allocations: 22.34 kB / 332.4 MB, free: 6.09 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.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.PDtoTD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.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.PDtoTD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.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.PDtoTD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTD_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_PDtoTD.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.PDtoTD_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.PDtoTD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTD_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.PDtoTD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_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.PDtoTD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTD_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_PDtoTD_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.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.PDtoTD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTD_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.PDtoTD_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_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.PDtoTD_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_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.4558347556740046]