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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 119.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.6 MB / 248.5 MB, free: 3.66 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07365/0.07365, allocations: 16.96 MB / 320.3 MB, free: 13.14 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 66.78 kB / 447.3 MB, free: 45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.08578, allocations: 56.42 MB / 0.4919 GB, free: 18.54 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002445/0.08822, allocations: 1.871 MB / 0.4937 GB, free: 17.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.09094, allocations: 1.92 MB / 0.4956 GB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.09117, allocations: 10.28 kB / 0.4956 GB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.09147, allocations: 119 kB / 0.4957 GB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.09178, allocations: 129.4 kB / 0.4958 GB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.09324, allocations: 0.8987 MB / 0.4967 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009628/0.09421, allocations: 1.306 MB / 0.498 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.09438, allocations: 92.92 kB / 0.4981 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.09477, allocations: 0.5224 MB / 0.4986 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.09507, allocations: 335.2 kB / 0.4989 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.989e-05/0.09515, allocations: 69.38 kB / 0.499 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006955/0.09585, allocations: 0.5248 MB / 0.4995 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.09597, allocations: 140.1 kB / 0.4996 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.09621, allocations: 338.2 kB / 0.4999 GB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009187/0.09713, allocations: 1.053 MB / 0.501 GB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.09714, allocations: 3.984 kB / 0.501 GB, free: 11.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09714, allocations: 0 / 0.501 GB, free: 11.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.09715, allocations: 0 / 0.501 GB, free: 11.9 MB / 366.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.001271/0.09842, allocations: 1.219 MB / 0.5022 GB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.09845, allocations: 12.55 kB / 0.5022 GB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.09873, allocations: 89.73 kB / 0.5022 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.09921, allocations: 411.6 kB / 0.5026 GB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.09929, allocations: 74.75 kB / 0.5027 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.09939, allocations: 68.19 kB / 0.5028 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1006, allocations: 1.101 MB / 0.5039 GB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1007, allocations: 4 kB / 0.5039 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.1007, allocations: 32 kB / 0.5039 GB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/0.1008, allocations: 52.95 kB / 0.5039 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/0.1017, allocations: 0.7337 MB / 0.5047 GB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1041, allocations: 3.006 MB / 0.5076 GB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.1048, allocations: 0.599 MB / 0.5082 GB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.1054, allocations: 490.4 kB / 0.5086 GB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.985e-05/0.1055, allocations: 85.14 kB / 0.5087 GB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008762/0.1063, allocations: 0.7864 MB / 0.5095 GB, free: 3.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 1.884e-06/0.1063, allocations: 0 / 0.5095 GB, free: 3.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.002423/0.1088, allocations: 2.216 MB / 0.5117 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.1089, allocations: 0.5074 MB / 0.5122 GB, free: 340 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.1092, allocations: 372.4 kB / 0.5125 GB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.1093, allocations: 61.69 kB / 0.5126 GB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.1095, allocations: 245.1 kB / 0.5128 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.1096, allocations: 194.6 kB / 0.513 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.1099, allocations: 202.6 kB / 0.5132 GB, free: 15.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1101, allocations: 370.8 kB / 0.5135 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.1106, allocations: 302.1 kB / 0.5138 GB, free: 14.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/0.1114, allocations: 0.64 MB / 0.5144 GB, free: 13.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.1139, allocations: 2.028 MB / 0.5164 GB, free: 11.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.1139, allocations: 8 kB / 0.5164 GB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002084/0.116, allocations: 1.46 MB / 0.5179 GB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.1162, allocations: 315.5 kB / 0.5182 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.1162, allocations: 12 kB / 0.5182 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.1162, allocations: 20.03 kB / 0.5182 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.1166, allocations: 115.7 kB / 0.5183 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.274e-05/0.1166, allocations: 23.88 kB / 0.5183 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.117, allocations: 103.3 kB / 0.5184 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.1171, allocations: 51.98 kB / 0.5185 GB, free: 9.246 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.000917/0.118, allocations: 0.7073 MB / 0.5192 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1181, allocations: 71.67 kB / 0.5192 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.1207, allocations: 1.661 MB / 0.5209 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.1207, allocations: 4 kB / 0.5209 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1207, allocations: 11.88 kB / 0.5209 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1207, allocations: 3.984 kB / 0.5209 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.1245, allocations: 2.597 MB / 0.5234 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1245, allocations: 4 kB / 0.5234 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.1247, allocations: 23.98 kB / 0.5234 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1247, allocations: 3.938 kB / 0.5234 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.1247, allocations: 47.84 kB / 0.5235 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1247, allocations: 0 / 0.5235 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1247, allocations: 8 kB / 0.5235 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.1277, allocations: 2.06 MB / 0.5255 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1278, allocations: 136.6 kB / 0.5256 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.128, allocations: 71.98 kB / 0.5257 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.1283, allocations: 55.95 kB / 0.5258 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.1285, allocations: 79.86 kB / 0.5258 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.879e-05/0.1286, allocations: 39.98 kB / 0.5259 GB, free: 1.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.1289, allocations: 223 kB / 0.5261 GB, free: 1.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1289, allocations: 0 / 0.5261 GB, free: 1.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009787/0.1298, allocations: 311.5 kB / 0.5264 GB, free: 0.8633 MB / 382.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.0006985/0.1305, allocations: 367.2 kB / 0.5267 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.1328, allocations: 1.668 MB / 0.5284 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1328, allocations: 0 / 0.5284 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.1341, allocations: 1.101 MB / 0.5294 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.1347, allocations: 97.75 kB / 0.5295 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.1374, allocations: 1.575 MB / 0.5311 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.1379, allocations: 0.8841 MB / 0.5319 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.138, allocations: 51.36 kB / 0.532 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 6.02e-07/0.138, allocations: 4 kB / 0.532 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Templates: time 0.01512/0.1531, allocations: 10.64 MB / 0.5424 GB, free: 180 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile [Timeout 660] (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 & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.703391381073743]