Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.0008964/0.0008964, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009841/0.0009841, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8912/0.8912, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.05162/0.05162, allocations: 12.64 MB / 271.8 MB, free: 0.7227 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: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.391e-05, allocations: 5.234 kB / 402.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002098/0.002122, allocations: 1.735 MB / 404 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.004437, allocations: 1.855 MB / 405.8 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.004658, allocations: 7.938 kB / 405.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.004964, allocations: 115 kB / 406 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.005279, allocations: 143 kB / 406.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.006628, allocations: 0.9431 MB / 407 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.007686, allocations: 1.345 MB / 408.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.007853, allocations: 73.22 kB / 408.5 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.008473, allocations: 0.7604 MB / 409.2 MB, free: 3.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.008851, allocations: 319 kB / 409.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.979e-05/0.008941, allocations: 92 kB / 409.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005746/0.009515, allocations: 0.6044 MB / 410.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.009646, allocations: 163.2 kB / 410.4 MB, free: 2.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.009866, allocations: 279.4 kB / 410.7 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.01099, allocations: 1.356 MB / 412 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01099, allocations: 0 / 412 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.01099, allocations: 0 / 412 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.01101, allocations: 0 / 412 MB, free: 0.8477 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001474/0.01248, allocations: 1.206 MB / 413.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.01253, allocations: 12.03 kB / 413.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.01264, allocations: 122.7 kB / 413.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.01288, allocations: 92.5 kB / 413.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.01334, allocations: 376.7 kB / 413.8 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.526e-05/0.01344, allocations: 116.8 kB / 413.9 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.01351, allocations: 79.98 kB / 414 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.01503, allocations: 1.789 MB / 415.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.01504, allocations: 4 kB / 415.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.0151, allocations: 36 kB / 415.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-05/0.01517, allocations: 56.94 kB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.01637, allocations: 1.262 MB / 417.2 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.01878, allocations: 3.012 MB / 420.2 MB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.0197, allocations: 1.062 MB / 421.2 MB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.02042, allocations: 0.9413 MB / 422.2 MB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.02046, allocations: 8 kB / 422.2 MB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.02154, allocations: 1.304 MB / 423.5 MB, free: 4.703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 2.324e-06/0.02154, allocations: 0 / 423.5 MB, free: 4.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.002842/0.02438, allocations: 3.444 MB / 426.9 MB, free: 1.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.02458, allocations: 0.5348 MB / 427.5 MB, free: 488 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.02488, allocations: 421.2 kB / 427.9 MB, free: 64 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/0.02496, allocations: 69.77 kB / 427.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.02509, allocations: 264.9 kB / 428.2 MB, free: 15.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.02521, allocations: 198.6 kB / 428.4 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.02542, allocations: 230.5 kB / 428.6 MB, free: 15.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.02553, allocations: 374.7 kB / 429 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.02608, allocations: 0.749 MB / 429.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.02682, allocations: 1.198 MB / 430.9 MB, free: 12.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.02877, allocations: 2.566 MB / 433.5 MB, free: 9.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.02878, allocations: 8 kB / 433.5 MB, free: 9.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00179/0.03057, allocations: 2.175 MB / 435.7 MB, free: 7.457 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.03071, allocations: 329 kB / 436 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.03074, allocations: 12 kB / 436 MB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.03076, allocations: 16 kB / 436 MB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.03098, allocations: 123.7 kB / 436.1 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.031, allocations: 23.88 kB / 436.2 MB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.03131, allocations: 135.2 kB / 436.3 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.03137, allocations: 52 kB / 436.4 MB, free: 6.719 MB / 410.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000657/0.03203, allocations: 0.7622 MB / 437.1 MB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.03212, allocations: 79.66 kB / 437.2 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.03413, allocations: 2.387 MB / 439.6 MB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.03414, allocations: 4 kB / 439.6 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.03415, allocations: 0 / 439.6 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.03416, allocations: 7.922 kB / 439.6 MB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1462/0.1804, allocations: 3.232 MB / 442.8 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.1804, allocations: 0 / 442.8 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.1806, allocations: 28 kB / 442.8 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1806, allocations: 3.312 kB / 442.9 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/0.1809, allocations: 42.14 kB / 442.9 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1809, allocations: 1.656 kB / 442.9 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1809, allocations: 3.219 kB / 442.9 MB, free: 80.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.1832, allocations: 2.85 MB / 445.7 MB, free: 79.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.1833, allocations: 63.02 kB / 445.8 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.1834, allocations: 75.06 kB / 445.9 MB, free: 79.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.1837, allocations: 70.47 kB / 446 MB, free: 79.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/0.184, allocations: 339.4 kB / 446.3 MB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.1841, allocations: 53.22 kB / 446.3 MB, free: 79.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1842, allocations: 240.5 kB / 446.6 MB, free: 79.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1842, allocations: 3.531 kB / 446.6 MB, free: 79.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007028/0.1849, allocations: 339 kB / 446.9 MB, free: 79.19 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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/0.1875, allocations: 3.693 MB / 450.6 MB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1891, allocations: 2.632 MB / 453.2 MB, free: 75.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1891, allocations: 0 / 453.2 MB, free: 75.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008927/0.19, allocations: 1.623 MB / 454.9 MB, free: 74.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.1904, allocations: 110.8 kB / 455 MB, free: 74.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.1972, allocations: 9.657 MB / 464.6 MB, free: 68.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1974, allocations: 320.5 kB / 464.9 MB, free: 67.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.1976, allocations: 148.2 kB / 465.1 MB, free: 67.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.1978, allocations: 188.6 kB / 465.3 MB, free: 67.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1978, allocations: 3.312 kB / 465.3 MB, free: 67.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.2301, allocations: 19.54 MB / 484.8 MB, free: 64.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.624, allocations: 4.094 kB / 484.8 MB, free: 64.62 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",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.422320814803243]