Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.0007562/0.0007562, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009423/0.001699, 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.0007237/0.0007237, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008948/0.001618, 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.9097/0.9097, allocations: 177.1 MB / 189.5 MB, free: 3.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/1.046, allocations: 53.66 MB / 243.2 MB, free: 2.383 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.04913/0.04913, allocations: 12.67 MB / 256.6 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006214/0.05534, allocations: 4.687 MB / 261.3 MB, free: 0.5508 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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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.266e-05/1.422e-05, allocations: 4.844 kB / 262.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002839/0.002853, allocations: 1.789 MB / 264.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.006477, allocations: 1.893 MB / 266.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.006695, allocations: 11.94 kB / 266.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.006969, allocations: 119.1 kB / 266.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.007335, allocations: 135 kB / 266.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.009014, allocations: 0.865 MB / 267.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.01045, allocations: 1.307 MB / 268.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.01062, allocations: 63.08 kB / 268.7 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000898/0.01152, allocations: 0.7844 MB / 269.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.01196, allocations: 279.1 kB / 269.7 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.01208, allocations: 72 kB / 269.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009652/0.01305, allocations: 0.6199 MB / 270.4 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.0132, allocations: 119.5 kB / 270.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.01346, allocations: 187.6 kB / 270.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.01453, allocations: 0.8375 MB / 271.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.01455, allocations: 4 kB / 271.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01455, allocations: 0 / 271.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.01457, allocations: 0 / 271.6 MB, free: 6.207 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.001452/0.01602, allocations: 1.121 MB / 272.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.466e-05/0.01605, allocations: 8.031 kB / 272.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.01618, allocations: 118.6 kB / 272.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.01653, allocations: 202 kB / 273 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.01694, allocations: 252.9 kB / 273.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.01705, allocations: 108.6 kB / 273.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.01716, allocations: 75.98 kB / 273.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.01852, allocations: 1.2 MB / 274.6 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.01854, allocations: 4 kB / 274.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.01861, allocations: 31.98 kB / 274.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-05/0.0187, allocations: 48.95 kB / 274.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.01955, allocations: 0.6834 MB / 275.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.0222, allocations: 2.372 MB / 277.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000791/0.02299, allocations: 0.7204 MB / 278.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.02363, allocations: 0.5732 MB / 279.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.02369, allocations: 15.98 kB / 279.1 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009618/0.02465, allocations: 0.9309 MB / 280 MB, free: 13.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=75): time 2.144e-06/0.02465, allocations: 0 / 280 MB, free: 13.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.001738/0.02639, allocations: 1.82 MB / 281.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.02657, allocations: 0.519 MB / 282.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.02676, allocations: 330.6 kB / 282.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.02681, allocations: 65.69 kB / 282.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.02691, allocations: 217.7 kB / 283 MB, free: 9.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.02701, allocations: 198.5 kB / 283.2 MB, free: 9.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.02716, allocations: 202.4 kB / 283.4 MB, free: 9.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.02725, allocations: 378.6 kB / 283.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.0276, allocations: 418.1 kB / 284.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.02796, allocations: 0.8182 MB / 285 MB, free: 7.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007609/0.02872, allocations: 1.438 MB / 286.4 MB, free: 5.852 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.02873, allocations: 0 / 286.4 MB, free: 5.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0007501/0.02948, allocations: 1.18 MB / 287.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.02959, allocations: 313 kB / 287.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.0296, allocations: 12 kB / 287.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.02962, allocations: 16 kB / 287.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.02991, allocations: 175.7 kB / 288.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.02993, allocations: 20.47 kB / 288.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.03013, allocations: 111.6 kB / 288.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.03017, allocations: 44 kB / 288.2 MB, free: 3.801 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: 46 * 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],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.enableIn.arcWeight[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 (122): * Single equations (assignments): 112 * 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.000404/0.03057, allocations: 0.6303 MB / 288.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-05/0.03067, allocations: 107.9 kB / 289 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.03139, allocations: 0.9955 MB / 290 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.03139, allocations: 4 kB / 290 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.03139, allocations: 4 kB / 290 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.0314, allocations: 3.984 kB / 290 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.03273, allocations: 1.592 MB / 291.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.03273, allocations: 3.984 kB / 291.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.03281, allocations: 31.97 kB / 291.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.03281, allocations: 4 kB / 291.6 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.03286, allocations: 35.98 kB / 291.7 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.03286, allocations: 0 / 291.7 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03286, allocations: 8 kB / 291.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009395/0.0338, allocations: 1.564 MB / 293.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.03383, allocations: 43.59 kB / 293.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.03393, allocations: 71.97 kB / 293.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.0341, allocations: 55.95 kB / 293.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.03422, allocations: 82.67 kB / 293.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.03427, allocations: 43.97 kB / 293.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.03434, allocations: 100.6 kB / 293.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03434, allocations: 0 / 293.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00052/0.03486, allocations: 307.6 kB / 293.9 MB, free: 13.77 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: 67 ($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.arcWeight[1],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 (37): * Single equations (assignments): 25 * 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.001516/0.03638, allocations: 2.343 MB / 296.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.03749, allocations: 1.834 MB / 298.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.0375, allocations: 4 kB / 298.1 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006316/0.03813, allocations: 1.202 MB / 299.3 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.03842, allocations: 121 kB / 299.4 MB, free: 7.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.04161, allocations: 4.246 MB / 303.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.135e-05/0.04169, allocations: 151.9 kB / 303.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.04182, allocations: 76.44 kB / 303.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.04246, allocations: 411.2 kB / 304.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04246, allocations: 0 / 304.3 MB, free: 2.504 MB / 298.7 MB Notification: FMU-only work: backend 0.001016, simCode 0.001491, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/0.1457, allocations: 20.93 MB / 325.2 MB, free: 13.38 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.624/2.769, allocations: 18.5 kB / 325.2 MB, free: 13.37 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPDfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPDfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TDtoPDfunction_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.TDtoPDfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TDtoPDfunction_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.TDtoPDfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_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.TDtoPDfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_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.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_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.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction_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.40365825407207]