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.0009314/0.0009314, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008993/0.0008993, allocations: 221.3 kB / 22.25 MB, free: 3.566 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 1.037/1.037, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.05206/0.05206, allocations: 16.96 MB / 329.4 MB, free: 1.16 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",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.89 kB / 461.3 MB, free: 26.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.08115, allocations: 57.64 MB / 0.5068 GB, free: 1.188 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002156/0.08331, allocations: 1.716 MB / 0.5084 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.08552, allocations: 1.857 MB / 0.5102 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.08569, allocations: 7.938 kB / 0.5102 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.08598, allocations: 119.1 kB / 0.5104 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.08627, allocations: 131.1 kB / 0.5105 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.08752, allocations: 0.9454 MB / 0.5114 GB, free: 12.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009541/0.08847, allocations: 1.33 MB / 0.5127 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.08861, allocations: 56.34 kB / 0.5128 GB, free: 11.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003831/0.08899, allocations: 0.5454 MB / 0.5133 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.08957, allocations: 318.4 kB / 0.5136 GB, free: 10.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.08964, allocations: 72 kB / 0.5137 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.09018, allocations: 0.5889 MB / 0.5142 GB, free: 9.492 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.0903, allocations: 143.4 kB / 0.5144 GB, free: 9.352 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.09049, allocations: 282.8 kB / 0.5146 GB, free: 9.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007587/0.09125, allocations: 1.071 MB / 0.5157 GB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09125, allocations: 4 kB / 0.5157 GB, free: 7.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09125, allocations: 3.938 kB / 0.5157 GB, free: 7.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.09126, allocations: 0 / 0.5157 GB, free: 7.992 MB / 378.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.001052/0.09231, allocations: 1.136 MB / 0.5168 GB, free: 6.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.09235, allocations: 8.031 kB / 0.5168 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.192e-05/0.09244, allocations: 114.7 kB / 0.5169 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.09297, allocations: 84.56 kB / 0.517 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.09334, allocations: 349.1 kB / 0.5173 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.09341, allocations: 100.4 kB / 0.5174 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.09348, allocations: 79.92 kB / 0.5175 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.09471, allocations: 1.552 MB / 0.519 GB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.09472, allocations: 0 / 0.519 GB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.09477, allocations: 35.98 kB / 0.5191 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.09482, allocations: 40.97 kB / 0.5191 GB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/0.09574, allocations: 1.059 MB / 0.5201 GB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.09799, allocations: 2.723 MB / 0.5228 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/0.09879, allocations: 0.9177 MB / 0.5237 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.09938, allocations: 0.7969 MB / 0.5245 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.09942, allocations: 16.02 kB / 0.5245 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008693/0.1003, allocations: 1.147 MB / 0.5256 GB, free: 13.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 1.593e-06/0.1003, allocations: 0 / 0.5256 GB, free: 13.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.00263/0.1029, allocations: 2.959 MB / 0.5285 GB, free: 10.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/0.1031, allocations: 0.5191 MB / 0.529 GB, free: 9.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1034, allocations: 372.2 kB / 0.5294 GB, free: 9.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.1034, allocations: 57.7 kB / 0.5294 GB, free: 9.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1035, allocations: 245.2 kB / 0.5296 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1036, allocations: 194.6 kB / 0.5298 GB, free: 8.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.1038, allocations: 202.6 kB / 0.53 GB, free: 8.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.1039, allocations: 374.8 kB / 0.5304 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.1043, allocations: 0.5929 MB / 0.531 GB, free: 7.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.1049, allocations: 1.013 MB / 0.532 GB, free: 6.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.1066, allocations: 2.059 MB / 0.534 GB, free: 3.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.1066, allocations: 4 kB / 0.534 GB, free: 3.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001313/0.1079, allocations: 1.776 MB / 0.5357 GB, free: 1.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.108, allocations: 323.1 kB / 0.536 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.108, allocations: 8 kB / 0.536 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1081, allocations: 16 kB / 0.536 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.1082, allocations: 115.6 kB / 0.5361 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.1083, allocations: 23.92 kB / 0.5362 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1085, allocations: 103.3 kB / 0.5363 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.1085, allocations: 48.14 kB / 0.5363 GB, free: 1.156 MB / 394.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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],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,P1.inTransition[1].emptied) * 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.0004679/0.109, allocations: 0.6982 MB / 0.537 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.1091, allocations: 71.67 kB / 0.5371 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.1107, allocations: 1.981 MB / 0.539 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1107, allocations: 7.938 kB / 0.539 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1107, allocations: 7.938 kB / 0.539 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1107, allocations: 0 / 0.539 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.1133, allocations: 2.731 MB / 0.5417 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1133, allocations: 0 / 0.5417 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.1133, allocations: 31.92 kB / 0.5417 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1133, allocations: 3.984 kB / 0.5417 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.1134, allocations: 43.91 kB / 0.5418 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1134, allocations: 4 kB / 0.5418 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1134, allocations: 3.984 kB / 0.5418 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.1154, allocations: 2.498 MB / 0.5442 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1155, allocations: 55.53 kB / 0.5443 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.1156, allocations: 71.97 kB / 0.5443 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1157, allocations: 47.97 kB / 0.5444 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.1159, allocations: 87.83 kB / 0.5444 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/0.1159, allocations: 43.98 kB / 0.5445 GB, free: 8.406 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1161, allocations: 219 kB / 0.5447 GB, free: 8.191 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1161, allocations: 3.938 kB / 0.5447 GB, free: 8.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005451/0.1166, allocations: 315.5 kB / 0.545 GB, free: 7.879 MB / 410.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.002777/0.1194, allocations: 3.31 MB / 0.5482 GB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.1209, allocations: 2.304 MB / 0.5505 GB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1209, allocations: 0 / 0.5505 GB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.1218, allocations: 1.431 MB / 0.5519 GB, free: 356 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1221, allocations: 102.7 kB / 0.552 GB, free: 260 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1484/0.2705, allocations: 8.546 MB / 0.5603 GB, free: 43.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2707, allocations: 301.8 kB / 0.5606 GB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.2709, allocations: 126 kB / 0.5607 GB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2711, allocations: 174.1 kB / 0.5609 GB, free: 43.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2711, allocations: 0 / 0.5609 GB, free: 43.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0778/0.3489, allocations: 16.82 MB / 0.5773 GB, free: 36.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/7.08, allocations: 6.297 kB / 0.5773 GB, free: 36.1 MB / 410.7 MB " [Timeout remaining time 653] (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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.84952593781054]