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.001862/0.001862, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002464/0.002464, allocations: 218.8 kB / 22.25 MB, free: 4.852 MB / 14.72 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.08281/0.08281, allocations: 16.95 MB / 329.4 MB, free: 2.074 MB / 254.1 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: 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.002114/0.002114, allocations: 67.89 kB / 459.7 MB, free: 2.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1078, allocations: 57.63 MB / 0.5052 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003321/0.1111, allocations: 1.724 MB / 0.5069 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.1148, allocations: 1.859 MB / 0.5087 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.1151, allocations: 7.938 kB / 0.5087 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.1155, allocations: 115.1 kB / 0.5088 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.1159, allocations: 131.1 kB / 0.5089 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.118, allocations: 0.9514 MB / 0.5099 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.1196, allocations: 1.35 MB / 0.5112 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1198, allocations: 73.12 kB / 0.5113 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006277/0.1204, allocations: 0.5377 MB / 0.5118 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.121, allocations: 366.2 kB / 0.5121 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.1211, allocations: 92 kB / 0.5122 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009929/0.1221, allocations: 0.6123 MB / 0.5128 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1223, allocations: 147.3 kB / 0.513 GB, free: 448 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.1227, allocations: 326.7 kB / 0.5133 GB, free: 120 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1968/0.3194, allocations: 1.192 MB / 0.5144 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3194, allocations: 2.625 kB / 0.5144 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3194, allocations: 1.031 kB / 0.5144 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.3195, allocations: 0 / 0.5144 GB, free: 11.11 MB / 382.1 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.001437/0.3209, allocations: 1.213 MB / 0.5156 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3209, allocations: 10.44 kB / 0.5156 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.3211, allocations: 119 kB / 0.5157 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.3214, allocations: 97.03 kB / 0.5158 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.322, allocations: 380.3 kB / 0.5162 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.379e-05/0.322, allocations: 111 kB / 0.5163 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3222, allocations: 72.42 kB / 0.5164 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.3241, allocations: 1.795 MB / 0.5181 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3242, allocations: 3.656 kB / 0.5181 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/0.3242, allocations: 41.98 kB / 0.5182 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.65e-05/0.3243, allocations: 51.73 kB / 0.5182 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.326, allocations: 1.252 MB / 0.5194 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.3295, allocations: 3.018 MB / 0.5224 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.331, allocations: 1.062 MB / 0.5234 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.3323, allocations: 0.9378 MB / 0.5243 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.3324, allocations: 11.23 kB / 0.5244 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/0.3341, allocations: 1.318 MB / 0.5256 GB, free: 5.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.585e-06/0.3341, allocations: 0 / 0.5256 GB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004422/0.3385, allocations: 3.435 MB / 0.529 GB, free: 3.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002001/0.3387, allocations: 0.5302 MB / 0.5295 GB, free: 3.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.3391, allocations: 428.1 kB / 0.5299 GB, free: 3.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.3392, allocations: 71.16 kB / 0.53 GB, free: 3.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3394, allocations: 265.4 kB / 0.5302 GB, free: 2.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3395, allocations: 198.4 kB / 0.5304 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.3398, allocations: 231.7 kB / 0.5307 GB, free: 2.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3399, allocations: 373.5 kB / 0.531 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/0.3407, allocations: 0.7471 MB / 0.5317 GB, free: 1.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009968/0.3417, allocations: 1.201 MB / 0.5329 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/0.3449, allocations: 2.557 MB / 0.5354 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.3449, allocations: 3.906 kB / 0.5354 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003115/0.348, allocations: 2.179 MB / 0.5375 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.3483, allocations: 330.2 kB / 0.5379 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.3483, allocations: 11.44 kB / 0.5379 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.3483, allocations: 17.06 kB / 0.5379 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.3487, allocations: 123.2 kB / 0.538 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.3487, allocations: 26.28 kB / 0.538 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.3493, allocations: 128.3 kB / 0.5381 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-05/0.3494, allocations: 58.56 kB / 0.5382 GB, free: 13.34 MB / 398.1 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.00108/0.3505, allocations: 0.758 MB / 0.5389 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.3506, allocations: 76.67 kB / 0.539 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.3542, allocations: 2.397 MB / 0.5414 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.3543, allocations: 6.312 kB / 0.5414 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3543, allocations: 1.594 kB / 0.5414 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3543, allocations: 1.922 kB / 0.5414 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/0.3593, allocations: 3.238 MB / 0.5445 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3593, allocations: 0 / 0.5445 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3594, allocations: 32.67 kB / 0.5446 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3594, allocations: 2.094 kB / 0.5446 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/0.3595, allocations: 44.31 kB / 0.5446 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3595, allocations: 2.781 kB / 0.5446 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3595, allocations: 0 / 0.5446 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/0.3636, allocations: 2.854 MB / 0.5474 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3637, allocations: 61.16 kB / 0.5475 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.3639, allocations: 75.69 kB / 0.5475 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.3644, allocations: 78.05 kB / 0.5476 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005537/0.3649, allocations: 334.3 kB / 0.5479 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.365, allocations: 50.91 kB / 0.548 GB, free: 8.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.3653, allocations: 244.6 kB / 0.5482 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3653, allocations: 0 / 0.5482 GB, free: 8.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001157/0.3665, allocations: 340.1 kB / 0.5485 GB, free: 8.098 MB / 398.1 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.005104/0.3716, allocations: 3.672 MB / 0.5521 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003385/0.375, allocations: 2.635 MB / 0.5547 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.375, allocations: 0 / 0.5547 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.3769, allocations: 1.607 MB / 0.5563 GB, free: 2.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.3775, allocations: 118.8 kB / 0.5564 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.3908, allocations: 9.654 MB / 0.5658 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.3912, allocations: 320.6 kB / 0.5661 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004442/0.3917, allocations: 144.8 kB / 0.5662 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.392, allocations: 187.4 kB / 0.5664 GB, free: 9.059 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.392, allocations: 0 / 0.5664 GB, free: 9.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.444, allocations: 19.51 MB / 0.5855 GB, free: 5.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.22, allocations: 10.72 kB / 0.5855 GB, free: 5.723 MB / 430.1 MB " [Timeout remaining time 648] (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/jenkins1/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: 15.007379354909062]