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.001866/0.001866, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002292/0.002292, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.98 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.08453/0.08453, allocations: 16.95 MB / 329.4 MB, free: 2.273 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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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: 71.89 kB / 459.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 57.63 MB / 0.5053 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003255/0.1133, allocations: 1.878 MB / 0.5071 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.117, allocations: 1.952 MB / 0.509 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.1172, allocations: 7.938 kB / 0.509 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.1175, allocations: 111.1 kB / 0.5091 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.1179, allocations: 135.1 kB / 0.5093 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.1197, allocations: 0.9476 MB / 0.5102 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1212, allocations: 1.353 MB / 0.5115 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1214, allocations: 67.09 kB / 0.5116 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.122, allocations: 0.5377 MB / 0.5121 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.1225, allocations: 354.2 kB / 0.5124 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1226, allocations: 72 kB / 0.5125 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009425/0.1236, allocations: 0.6319 MB / 0.5131 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.1237, allocations: 147.3 kB / 0.5133 GB, free: 372 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.1241, allocations: 338.4 kB / 0.5136 GB, free: 32 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2184/0.3425, allocations: 1.045 MB / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3425, allocations: 0 / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3425, allocations: 0 / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3425, allocations: 4.078 kB / 0.5146 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001429/0.3439, allocations: 1.147 MB / 0.5157 GB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.344, allocations: 9.688 kB / 0.5157 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.3441, allocations: 115.9 kB / 0.5158 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.3444, allocations: 85.25 kB / 0.5159 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.3449, allocations: 349.1 kB / 0.5163 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/0.345, allocations: 104.6 kB / 0.5164 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3451, allocations: 71.38 kB / 0.5164 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.3465, allocations: 1.1 MB / 0.5175 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3465, allocations: 6.938 kB / 0.5175 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.3466, allocations: 38.14 kB / 0.5175 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/0.3467, allocations: 41.27 kB / 0.5176 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3478, allocations: 0.7355 MB / 0.5183 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.3508, allocations: 2.886 MB / 0.5211 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/0.3518, allocations: 0.6021 MB / 0.5217 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.3525, allocations: 483.2 kB / 0.5222 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.3525, allocations: 8.422 kB / 0.5222 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.3537, allocations: 0.7798 MB / 0.5229 GB, free: 7.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.245e-06/0.3537, allocations: 0 / 0.5229 GB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003192/0.3569, allocations: 2.211 MB / 0.5251 GB, free: 7.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002111/0.3571, allocations: 0.5157 MB / 0.5256 GB, free: 6.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.3575, allocations: 369.5 kB / 0.526 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.995e-05/0.3576, allocations: 64.2 kB / 0.526 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3577, allocations: 240.8 kB / 0.5262 GB, free: 6.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.3578, allocations: 192.7 kB / 0.5264 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.358, allocations: 202 kB / 0.5266 GB, free: 5.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.3581, allocations: 373.5 kB / 0.527 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.3586, allocations: 305 kB / 0.5273 GB, free: 5.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.3592, allocations: 0.642 MB / 0.5279 GB, free: 4.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.3612, allocations: 2.03 MB / 0.5299 GB, free: 3.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.3612, allocations: 4 kB / 0.5299 GB, free: 3.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00178/0.363, allocations: 1.475 MB / 0.5313 GB, free: 2.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.3631, allocations: 314.5 kB / 0.5316 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3631, allocations: 10.34 kB / 0.5316 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.3631, allocations: 17.56 kB / 0.5316 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.3635, allocations: 112.2 kB / 0.5318 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.3635, allocations: 25.67 kB / 0.5318 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.3639, allocations: 103.4 kB / 0.5319 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/0.3639, allocations: 49.23 kB / 0.5319 GB, free: 2.141 MB / 382.1 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.0008831/0.3648, allocations: 0.6993 MB / 0.5326 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.365, allocations: 72.47 kB / 0.5327 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.3673, allocations: 1.669 MB / 0.5343 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3673, allocations: 9.391 kB / 0.5343 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3673, allocations: 0 / 0.5343 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3673, allocations: 6.047 kB / 0.5343 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.3715, allocations: 2.606 MB / 0.5369 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3715, allocations: 0.6094 kB / 0.5369 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3716, allocations: 24.23 kB / 0.5369 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3716, allocations: 7.422 kB / 0.5369 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-05/0.3717, allocations: 41.56 kB / 0.5369 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3717, allocations: 5.375 kB / 0.5369 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3717, allocations: 1 kB / 0.5369 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.375, allocations: 2.071 MB / 0.539 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3751, allocations: 51.41 kB / 0.539 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.3753, allocations: 71.7 kB / 0.5391 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.3757, allocations: 52.7 kB / 0.5391 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.3759, allocations: 85.31 kB / 0.5392 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.376, allocations: 43.06 kB / 0.5393 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.3762, allocations: 227.7 kB / 0.5395 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3762, allocations: 0 / 0.5395 GB, free: 14.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001189/0.3774, allocations: 304.4 kB / 0.5398 GB, free: 14.48 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: 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.004739/0.3822, allocations: 2.883 MB / 0.5426 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.3849, allocations: 1.664 MB / 0.5442 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3849, allocations: 2 kB / 0.5442 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.3863, allocations: 1.104 MB / 0.5453 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.387, allocations: 109.2 kB / 0.5454 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.3987, allocations: 6.97 MB / 0.5522 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.3993, allocations: 0.89 MB / 0.5531 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004633/0.3998, allocations: 130.4 kB / 0.5532 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.4001, allocations: 175.4 kB / 0.5534 GB, free: 6.137 MB / 398.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4001, allocations: 7.188 kB / 0.5534 GB, free: 6.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04969/0.4498, allocations: 16.11 MB / 0.5691 GB, free: 8.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.42, allocations: 9.328 kB / 0.5691 GB, free: 8.031 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.192641574889421]