Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.001368/0.001368, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001847/0.001847, allocations: 215.5 kB / 22.25 MB, free: 5.082 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.039 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.08323/0.08323, allocations: 16.94 MB / 329.4 MB, free: 2.32 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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.002111/0.002111, allocations: 67.89 kB / 459.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1316, allocations: 57.64 MB / 0.5053 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.003801/0.1354, allocations: 1.87 MB / 0.5071 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.1402, allocations: 1.983 MB / 0.509 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.1406, allocations: 11.94 kB / 0.5091 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.1411, allocations: 111.1 kB / 0.5092 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.1415, allocations: 135.1 kB / 0.5093 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.144, allocations: 0.9748 MB / 0.5102 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.1459, allocations: 1.338 MB / 0.5115 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1461, allocations: 64.28 kB / 0.5116 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006721/0.1468, allocations: 0.5338 MB / 0.5121 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.1473, allocations: 354.3 kB / 0.5125 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1474, allocations: 72 kB / 0.5125 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1485, allocations: 0.6397 MB / 0.5132 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1487, allocations: 135.3 kB / 0.5133 GB, free: 380 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.1491, allocations: 330.5 kB / 0.5136 GB, free: 48 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2828/0.4319, allocations: 1.055 MB / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4319, allocations: 0 / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4319, allocations: 2.312 kB / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.4319, allocations: 0 / 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001619/0.4335, allocations: 1.146 MB / 0.5158 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4336, allocations: 11.28 kB / 0.5158 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.4337, allocations: 110.3 kB / 0.5159 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.434, allocations: 93.83 kB / 0.516 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.4346, allocations: 344.9 kB / 0.5163 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.4347, allocations: 111 kB / 0.5164 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.4348, allocations: 67.83 kB / 0.5165 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.4364, allocations: 1.09 MB / 0.5175 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.4364, allocations: 6.688 kB / 0.5175 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/0.4365, allocations: 38.62 kB / 0.5176 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.792e-05/0.4366, allocations: 39.53 kB / 0.5176 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.4377, allocations: 0.7146 MB / 0.5183 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.4409, allocations: 2.86 MB / 0.5211 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.4419, allocations: 0.5434 MB / 0.5216 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/0.4426, allocations: 452.2 kB / 0.5221 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.989e-05/0.4427, allocations: 9.25 kB / 0.5221 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.4441, allocations: 0.7711 MB / 0.5228 GB, free: 7.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.915e-06/0.4441, allocations: 0 / 0.5228 GB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.003541/0.4476, allocations: 2.101 MB / 0.5249 GB, free: 7.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/0.4478, allocations: 0.5367 MB / 0.5254 GB, free: 6.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.4483, allocations: 382.4 kB / 0.5258 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/0.4484, allocations: 63.58 kB / 0.5258 GB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.4485, allocations: 245.4 kB / 0.5261 GB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.4487, allocations: 185.8 kB / 0.5262 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.449, allocations: 203.9 kB / 0.5264 GB, free: 5.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4491, allocations: 369.4 kB / 0.5268 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.4495, allocations: 296.9 kB / 0.5271 GB, free: 5.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.4502, allocations: 0.6225 MB / 0.5277 GB, free: 4.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.4523, allocations: 1.986 MB / 0.5296 GB, free: 3.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/0.4523, allocations: 6.938 kB / 0.5296 GB, free: 3.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002066/0.4543, allocations: 1.438 MB / 0.531 GB, free: 2.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.4545, allocations: 313.9 kB / 0.5313 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4545, allocations: 10.69 kB / 0.5313 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.4545, allocations: 21.55 kB / 0.5314 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.4549, allocations: 104.8 kB / 0.5315 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.4549, allocations: 27.67 kB / 0.5315 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.4553, allocations: 109 kB / 0.5316 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.4554, allocations: 49.92 kB / 0.5316 GB, free: 2.281 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[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 (118): * Single equations (assignments): 108 * 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.0008929/0.4563, allocations: 0.6969 MB / 0.5323 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.4564, allocations: 70.33 kB / 0.5324 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.459, allocations: 1.596 MB / 0.5339 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.459, allocations: 3.688 kB / 0.5339 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.459, allocations: 5.672 kB / 0.5339 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.459, allocations: 7.453 kB / 0.534 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.4626, allocations: 2.299 MB / 0.5362 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4626, allocations: 1.281 kB / 0.5362 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.4627, allocations: 29.02 kB / 0.5362 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.4627, allocations: 2.219 kB / 0.5362 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.4628, allocations: 42.36 kB / 0.5363 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.4628, allocations: 2 kB / 0.5363 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4628, allocations: 1.312 kB / 0.5363 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.4662, allocations: 1.999 MB / 0.5382 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.4664, allocations: 53.78 kB / 0.5383 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.4666, allocations: 72.53 kB / 0.5383 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.467, allocations: 54 kB / 0.5384 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.4673, allocations: 83.69 kB / 0.5385 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.4674, allocations: 43.55 kB / 0.5385 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003269/0.4677, allocations: 229.4 kB / 0.5387 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4677, allocations: 0 / 0.5387 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001328/0.469, allocations: 306.2 kB / 0.539 GB, free: 14.7 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: 64 ($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,$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.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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.004775/0.4738, allocations: 2.807 MB / 0.5418 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.4768, allocations: 1.629 MB / 0.5434 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4768, allocations: 5.562 kB / 0.5434 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.4783, allocations: 1.072 MB / 0.5444 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.4789, allocations: 115.4 kB / 0.5445 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.4889, allocations: 6.708 MB / 0.5511 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.4896, allocations: 0.8918 MB / 0.5519 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003785/0.4899, allocations: 129.3 kB / 0.5521 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.4902, allocations: 173.2 kB / 0.5522 GB, free: 6.52 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4902, allocations: 1.062 kB / 0.5522 GB, free: 6.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.5384, allocations: 15.93 MB / 0.5678 GB, free: 9.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.21, allocations: 3.125 kB / 0.5678 GB, free: 9.273 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD.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.019429859006777]