Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.0007348/0.0007348, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009432/0.001678, 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.0006855/0.0006855, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009193/0.001605, 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.9218/0.9218, allocations: 177.1 MB / 189.5 MB, free: 3.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.142/1.064, allocations: 53.66 MB / 243.2 MB, free: 2.363 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.0499/0.0499, allocations: 12.67 MB / 256.6 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005888/0.05579, allocations: 4.691 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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 262.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/1.096e-05, allocations: 4.844 kB / 262.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002741/0.002752, allocations: 1.789 MB / 264.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.006027, allocations: 1.897 MB / 266.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.006272, allocations: 15.88 kB / 266.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.006544, allocations: 119.1 kB / 266.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.006893, allocations: 135 kB / 266.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.008599, allocations: 0.8689 MB / 267.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.0101, allocations: 1.303 MB / 268.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.01027, allocations: 61.05 kB / 268.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009043/0.01118, allocations: 0.7844 MB / 269.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004504/0.01163, allocations: 271.2 kB / 269.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.01174, allocations: 72 kB / 269.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009668/0.0127, allocations: 0.6277 MB / 270.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.01285, allocations: 111.5 kB / 270.5 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.01312, allocations: 195.6 kB / 270.7 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.01421, allocations: 0.8336 MB / 271.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.01422, allocations: 4 kB / 271.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01422, allocations: 0 / 271.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.01424, allocations: 0 / 271.6 MB, free: 6.195 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001493/0.01573, allocations: 1.125 MB / 272.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.01577, allocations: 8.031 kB / 272.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.0159, allocations: 114.6 kB / 272.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.01626, allocations: 205.9 kB / 273 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.01668, allocations: 252.9 kB / 273.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.01678, allocations: 104.7 kB / 273.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.01689, allocations: 79.98 kB / 273.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.01823, allocations: 1.196 MB / 274.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.01825, allocations: 4 kB / 274.6 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.01833, allocations: 35.97 kB / 274.7 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/0.01841, allocations: 44.97 kB / 274.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.01923, allocations: 0.6697 MB / 275.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.02179, allocations: 2.369 MB / 277.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.02254, allocations: 0.6975 MB / 278.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.02312, allocations: 0.5617 MB / 279 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.02316, allocations: 12.23 kB / 279 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009377/0.0241, allocations: 0.8946 MB / 279.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/0.0241, allocations: 0 / 279.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.001949/0.02605, allocations: 1.783 MB / 281.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002823/0.02633, allocations: 0.5403 MB / 282.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.02663, allocations: 342.5 kB / 282.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.862e-05/0.02671, allocations: 65.69 kB / 282.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.02686, allocations: 217.7 kB / 282.9 MB, free: 9.945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.02702, allocations: 198.5 kB / 283.1 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.02728, allocations: 202.4 kB / 283.3 MB, free: 9.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.02742, allocations: 386.5 kB / 283.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.02778, allocations: 418.1 kB / 284 MB, free: 8.691 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.02838, allocations: 0.8519 MB / 284.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.02962, allocations: 1.438 MB / 286.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.02963, allocations: 4 kB / 286.3 MB, free: 5.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001244/0.03088, allocations: 1.191 MB / 287.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.03106, allocations: 309 kB / 287.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.03107, allocations: 8 kB / 287.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.0311, allocations: 16 kB / 287.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.0316, allocations: 176.3 kB / 288 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/0.03162, allocations: 23.92 kB / 288.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.03199, allocations: 111.3 kB / 288.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.03207, allocations: 40.25 kB / 288.2 MB, free: 3.816 MB / 282.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 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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 47 * Number of states: 0 () * Number of discrete variables: 118 ($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.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[1].emptied,P1.enableIn.disTransition[1],P1.reStart,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon,$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T1.enabledByInPlaces,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 113 * Array equations: 0 * 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.0006436/0.03271, allocations: 0.6526 MB / 288.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.03288, allocations: 103.9 kB / 289 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.03404, allocations: 0.9719 MB / 289.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.03404, allocations: 7.938 kB / 289.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.03404, allocations: 0 / 289.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.03405, allocations: 3.984 kB / 289.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.03605, allocations: 1.565 MB / 291.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.03606, allocations: 0 / 291.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.03616, allocations: 31.92 kB / 291.5 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.03617, allocations: 4 kB / 291.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.03624, allocations: 35.97 kB / 291.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.03624, allocations: 4 kB / 291.6 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03625, allocations: 0 / 291.6 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.03791, allocations: 1.539 MB / 293.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.03796, allocations: 47.53 kB / 293.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.03813, allocations: 71.97 kB / 293.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.03842, allocations: 55.97 kB / 293.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.03861, allocations: 86.58 kB / 293.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.03869, allocations: 39.97 kB / 293.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.03882, allocations: 112.6 kB / 293.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03882, allocations: 0 / 293.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000874/0.03969, allocations: 299.6 kB / 293.8 MB, free: 13.85 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.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 23 * Array equations: 0 * 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.002699/0.04239, allocations: 2.3 MB / 296.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.044, allocations: 1.83 MB / 297.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.04401, allocations: 4 kB / 297.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.04505, allocations: 1.193 MB / 299.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.04551, allocations: 117.2 kB / 299.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.04949, allocations: 4.212 MB / 303.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.73e-05/0.04957, allocations: 155.7 kB / 303.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.04971, allocations: 68.7 kB / 303.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007398/0.05045, allocations: 411.2 kB / 304.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.05045, allocations: 4 kB / 304.1 MB, free: 2.664 MB / 298.7 MB Notification: FMU-only work: backend 0.001888, simCode 0.00165, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/0.1845, allocations: 20.9 MB / 325 MB, free: 13.58 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.716/2.901, allocations: 22.27 kB / 325 MB, free: 13.56 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TDtoPD_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_TDtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TDtoPD_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.TDtoPD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TDtoPD_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.TDtoPD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_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.TDtoPD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TDtoPD_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_TDtoPD_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TDtoPD_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.inTransition[1].decreasingFactor,P1.inTransition[1].maxTokens filterSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_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.TDtoPD_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_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.419921798631549]