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.001476/0.001476, 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.001542/0.001542, allocations: 212.7 kB / 22.25 MB, free: 3.586 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.9793/0.9793, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.05639/0.05639, allocations: 16.94 MB / 329.4 MB, free: 0.9961 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 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.001443/0.001443, allocations: 75.88 kB / 460.5 MB, free: 26.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09106/0.0925, allocations: 57.63 MB / 0.506 GB, free: 1.293 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.005725/0.09823, allocations: 1.719 MB / 0.5076 GB, free: 15.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005965/0.1042, allocations: 1.866 MB / 0.5095 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.1045, allocations: 7.938 kB / 0.5095 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1048, allocations: 111.1 kB / 0.5096 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1052, allocations: 135.1 kB / 0.5097 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.1098, allocations: 0.9398 MB / 0.5106 GB, free: 12.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.1112, allocations: 1.33 MB / 0.5119 GB, free: 11.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.1114, allocations: 56.34 kB / 0.512 GB, free: 11.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.112, allocations: 0.5493 MB / 0.5125 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.1125, allocations: 314.4 kB / 0.5128 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1126, allocations: 72 kB / 0.5129 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009682/0.1135, allocations: 0.6005 MB / 0.5135 GB, free: 9.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.1138, allocations: 139.4 kB / 0.5136 GB, free: 9.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.1142, allocations: 282.8 kB / 0.5139 GB, free: 9.168 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.1157, allocations: 1.067 MB / 0.5149 GB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1157, allocations: 0 / 0.5149 GB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1157, allocations: 0 / 0.5149 GB, free: 8.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.1158, allocations: 0 / 0.5149 GB, free: 8.098 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.001694/0.1174, allocations: 1.144 MB / 0.516 GB, free: 6.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1175, allocations: 8.031 kB / 0.516 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.1176, allocations: 118.7 kB / 0.5162 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.118, allocations: 84.55 kB / 0.5162 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/0.1186, allocations: 341.2 kB / 0.5166 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.1187, allocations: 108.3 kB / 0.5167 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1188, allocations: 71.97 kB / 0.5167 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.1209, allocations: 1.544 MB / 0.5182 GB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.121, allocations: 4 kB / 0.5182 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.121, allocations: 35.98 kB / 0.5183 GB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-05/0.1211, allocations: 48.89 kB / 0.5183 GB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.1227, allocations: 1.059 MB / 0.5194 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.1262, allocations: 2.723 MB / 0.522 GB, free: 376 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.1277, allocations: 0.9178 MB / 0.5229 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.1287, allocations: 0.7968 MB / 0.5237 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.1288, allocations: 7.938 kB / 0.5237 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.1303, allocations: 1.155 MB / 0.5248 GB, free: 13.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 2.856e-06/0.1303, allocations: 0 / 0.5248 GB, free: 13.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.003987/0.1343, allocations: 2.959 MB / 0.5277 GB, free: 10.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002776/0.1346, allocations: 0.5152 MB / 0.5282 GB, free: 9.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.135, allocations: 372.2 kB / 0.5286 GB, free: 9.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.1351, allocations: 61.69 kB / 0.5286 GB, free: 9.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1353, allocations: 245.2 kB / 0.5289 GB, free: 8.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.1355, allocations: 194.6 kB / 0.5291 GB, free: 8.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.1357, allocations: 198.6 kB / 0.5292 GB, free: 8.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1359, allocations: 374.8 kB / 0.5296 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.1365, allocations: 0.5968 MB / 0.5302 GB, free: 7.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.1375, allocations: 1.013 MB / 0.5312 GB, free: 6.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.1399, allocations: 2.059 MB / 0.5332 GB, free: 3.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.1399, allocations: 0 / 0.5332 GB, free: 3.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002323/0.1422, allocations: 1.784 MB / 0.5349 GB, free: 1.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.1424, allocations: 310.9 kB / 0.5352 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.1424, allocations: 8.875 kB / 0.5352 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.1424, allocations: 19.94 kB / 0.5352 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.1428, allocations: 119.6 kB / 0.5354 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.1428, allocations: 19.94 kB / 0.5354 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.1432, allocations: 103.3 kB / 0.5355 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.1433, allocations: 52 kB / 0.5355 GB, free: 1.254 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.0009121/0.1442, allocations: 0.7014 MB / 0.5362 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.1444, allocations: 71.67 kB / 0.5363 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.1474, allocations: 1.973 MB / 0.5382 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.1474, allocations: 7.938 kB / 0.5382 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1474, allocations: 3.984 kB / 0.5382 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1474, allocations: 3.984 kB / 0.5382 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.1515, allocations: 2.739 MB / 0.5409 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1515, allocations: 0 / 0.5409 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.1517, allocations: 35.86 kB / 0.5409 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1517, allocations: 0 / 0.5409 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/0.1518, allocations: 35.98 kB / 0.541 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1518, allocations: 4 kB / 0.541 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1518, allocations: 3.984 kB / 0.541 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.155, allocations: 2.494 MB / 0.5434 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.1551, allocations: 59.52 kB / 0.5435 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.1552, allocations: 67.98 kB / 0.5435 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.1555, allocations: 59.95 kB / 0.5436 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.1557, allocations: 83.84 kB / 0.5437 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.1558, allocations: 43.98 kB / 0.5437 GB, free: 8.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002371/0.1561, allocations: 223 kB / 0.5439 GB, free: 8.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1561, allocations: 0 / 0.5439 GB, free: 8.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001152/0.1572, allocations: 315.4 kB / 0.5442 GB, free: 7.98 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.004135/0.1613, allocations: 3.305 MB / 0.5475 GB, free: 4.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002136/0.1635, allocations: 2.3 MB / 0.5497 GB, free: 2.031 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1635, allocations: 0 / 0.5497 GB, free: 2.031 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009912/0.1645, allocations: 1.431 MB / 0.5511 GB, free: 464 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1649, allocations: 106.6 kB / 0.5512 GB, free: 364 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.169/0.3339, allocations: 8.554 MB / 0.5596 GB, free: 43.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3342, allocations: 297 kB / 0.5598 GB, free: 43.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.3344, allocations: 125.6 kB / 0.56 GB, free: 43.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3346, allocations: 179 kB / 0.5601 GB, free: 43.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3346, allocations: 0 / 0.5601 GB, free: 43.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08316/0.4178, allocations: 16.82 MB / 0.5765 GB, free: 36.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.022, allocations: 8 kB / 0.5766 GB, free: 36.05 MB / 410.7 MB " [Timeout remaining time 652] (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: Class filterSimulationResults not found in scope (looking for a function or record). " [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: Class filterSimulationResults not found in scope (looking for a function or record). " [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: "" [Calling sys.exit(0), Time elapsed: 10.960638508200645]