Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.00189/0.00189, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002679/0.002679, allocations: 216 kB / 22.25 MB, free: 5.215 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 8.02 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.08252/0.08252, allocations: 16.94 MB / 329.4 MB, free: 2.289 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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",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.002054/0.002054, allocations: 63.89 kB / 459.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1115, allocations: 57.64 MB / 0.5053 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003336/0.1148, allocations: 1.869 MB / 0.5071 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.1186, allocations: 1.944 MB / 0.509 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.1188, allocations: 11.94 kB / 0.509 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.1191, allocations: 115.1 kB / 0.5091 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.1195, allocations: 139 kB / 0.5093 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1214, allocations: 0.9553 MB / 0.5102 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.1229, allocations: 1.361 MB / 0.5115 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.123, allocations: 65.14 kB / 0.5116 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006074/0.1236, allocations: 0.5532 MB / 0.5121 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005431/0.1242, allocations: 382.3 kB / 0.5125 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.1243, allocations: 88 kB / 0.5126 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000969/0.1253, allocations: 0.6553 MB / 0.5132 GB, free: 444 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1255, allocations: 155.3 kB / 0.5134 GB, free: 288 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2105/0.336, allocations: 387.6 kB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.3378, allocations: 1.189 MB / 0.5149 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3378, allocations: 0.75 kB / 0.5149 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3378, allocations: 0 / 0.5149 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.3378, allocations: 2.75 kB / 0.5149 GB, free: 11.05 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.001591/0.3394, allocations: 1.225 MB / 0.5161 GB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3395, allocations: 10.78 kB / 0.5161 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.3396, allocations: 123.7 kB / 0.5162 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.3399, allocations: 94.11 kB / 0.5163 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.3405, allocations: 371.9 kB / 0.5167 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3406, allocations: 114.1 kB / 0.5168 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.3407, allocations: 80.38 kB / 0.5168 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.3424, allocations: 1.32 MB / 0.5181 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3424, allocations: 4.438 kB / 0.5181 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/0.3425, allocations: 38.97 kB / 0.5182 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.712e-05/0.3426, allocations: 54.42 kB / 0.5182 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.3441, allocations: 0.9049 MB / 0.5191 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.348, allocations: 3.192 MB / 0.5222 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3493, allocations: 0.661 MB / 0.5229 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009965/0.3503, allocations: 0.5679 MB / 0.5234 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.3504, allocations: 8.078 kB / 0.5234 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/0.352, allocations: 0.9008 MB / 0.5243 GB, free: 7.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.785e-06/0.352, allocations: 1.156 kB / 0.5243 GB, free: 7.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003964/0.356, allocations: 2.544 MB / 0.5268 GB, free: 6.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002781/0.3563, allocations: 0.5571 MB / 0.5273 GB, free: 5.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.3568, allocations: 416.4 kB / 0.5277 GB, free: 5.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/0.3569, allocations: 70.88 kB / 0.5278 GB, free: 5.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.3571, allocations: 269.2 kB / 0.5281 GB, free: 5.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.3573, allocations: 201.3 kB / 0.5283 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.3576, allocations: 236 kB / 0.5285 GB, free: 5.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3578, allocations: 378.6 kB / 0.5288 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/0.3585, allocations: 441.1 kB / 0.5293 GB, free: 4.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.3594, allocations: 0.8138 MB / 0.5301 GB, free: 3.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.3621, allocations: 2.534 MB / 0.5325 GB, free: 2.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.3621, allocations: 2.375 kB / 0.5325 GB, free: 2.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002682/0.3648, allocations: 1.843 MB / 0.5343 GB, free: 1.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.3649, allocations: 343.8 kB / 0.5347 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.365, allocations: 12.25 kB / 0.5347 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/0.365, allocations: 17.34 kB / 0.5347 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.3654, allocations: 122.2 kB / 0.5348 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.082e-05/0.3654, allocations: 25.97 kB / 0.5348 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.3659, allocations: 141.1 kB / 0.535 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/0.366, allocations: 55.09 kB / 0.535 GB, free: 0.8086 MB / 382.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: 52 * 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.arcWeight[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.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 (135): * Single equations (assignments): 124 * 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.0009952/0.367, allocations: 0.7584 MB / 0.5358 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.3672, allocations: 76.45 kB / 0.5358 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.3706, allocations: 1.966 MB / 0.5378 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/0.3706, allocations: 6.609 kB / 0.5378 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3706, allocations: 0 / 0.5378 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.3706, allocations: 3.266 kB / 0.5378 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/0.3758, allocations: 2.958 MB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3759, allocations: 1.062 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.376, allocations: 22.7 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.376, allocations: 1.094 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/0.3761, allocations: 41.91 kB / 0.5407 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3761, allocations: 1.438 kB / 0.5407 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3761, allocations: 5.469 kB / 0.5407 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.3795, allocations: 2.339 MB / 0.543 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3796, allocations: 50.11 kB / 0.5431 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.3799, allocations: 75.33 kB / 0.5431 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.3803, allocations: 78.7 kB / 0.5432 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005535/0.3809, allocations: 332.4 kB / 0.5435 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.381, allocations: 46.28 kB / 0.5436 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002929/0.3813, allocations: 250.8 kB / 0.5438 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3813, allocations: 0 / 0.5438 GB, free: 12.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001222/0.3825, allocations: 344.5 kB / 0.5441 GB, free: 12.55 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: 68 ($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.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 (37): * Single equations (assignments): 24 * 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.004498/0.387, allocations: 3.143 MB / 0.5472 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.3898, allocations: 1.933 MB / 0.5491 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3898, allocations: 0 / 0.5491 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.3913, allocations: 1.238 MB / 0.5503 GB, free: 8.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.392, allocations: 120.1 kB / 0.5504 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.4031, allocations: 7.885 MB / 0.5581 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.4038, allocations: 0.9115 MB / 0.559 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004016/0.4042, allocations: 147 kB / 0.5591 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.4045, allocations: 195.4 kB / 0.5593 GB, free: 1.742 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4045, allocations: 0 / 0.5593 GB, free: 1.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05332/0.4578, allocations: 18.79 MB / 0.5777 GB, free: 15.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.59, allocations: 6.062 kB / 0.5777 GB, free: 15.06 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.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.338783149141818]