Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) 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: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001258, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 197.4 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1749/0.1749, allocations: 16.76 MB / 306.8 MB, free: 14.99 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.89 kB / 371.3 MB, free: 3.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2643, allocations: 53.45 MB / 424.7 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002731/0.2671, allocations: 1.977 MB / 426.7 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.27, allocations: 1.974 MB / 428.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.2702, allocations: 6.812 kB / 428.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.2706, allocations: 83.5 kB / 428.7 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.2709, allocations: 90.28 kB / 428.8 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.2727, allocations: 0.824 MB / 429.7 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.2738, allocations: 1.436 MB / 431.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.274, allocations: 157.5 kB / 431.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.2743, allocations: 0.5296 MB / 431.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.2747, allocations: 344.7 kB / 432.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.434e-05/0.2748, allocations: 89.5 kB / 432.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.2753, allocations: 0.5062 MB / 432.7 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.2755, allocations: 143.6 kB / 432.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.2758, allocations: 402.2 kB / 433.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009239/0.2767, allocations: 1.142 MB / 434.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2767, allocations: 2.938 kB / 434.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2767, allocations: 0 / 434.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2767, allocations: 0 / 434.4 MB, free: 35.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001475/0.2782, allocations: 1.272 MB / 435.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2783, allocations: 12.86 kB / 435.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.2784, allocations: 121.9 kB / 435.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.2787, allocations: 98.69 kB / 435.9 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.2792, allocations: 434.6 kB / 436.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.2793, allocations: 79.25 kB / 436.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2794, allocations: 83.28 kB / 436.5 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.2811, allocations: 1.315 MB / 437.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2811, allocations: 3.938 kB / 437.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.2812, allocations: 40.17 kB / 437.8 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.419e-05/0.2813, allocations: 57.28 kB / 437.9 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2825, allocations: 0.8841 MB / 438.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.2857, allocations: 3.311 MB / 442.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.2871, allocations: 1.524 MB / 443.6 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.2881, allocations: 1.356 MB / 445 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.2882, allocations: 83.75 kB / 445 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.2894, allocations: 0.8983 MB / 445.9 MB, free: 27.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.395e-06/0.2894, allocations: 4 kB / 445.9 MB, free: 27.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003214/0.2926, allocations: 2.525 MB / 448.5 MB, free: 26.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.2928, allocations: 0.5628 MB / 449 MB, free: 26.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.2932, allocations: 420.8 kB / 449.4 MB, free: 26.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.2932, allocations: 65.36 kB / 449.5 MB, free: 26.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.2934, allocations: 258.3 kB / 449.8 MB, free: 25.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2935, allocations: 187.9 kB / 449.9 MB, free: 25.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.2938, allocations: 226.4 kB / 450.2 MB, free: 25.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.2939, allocations: 382.8 kB / 450.5 MB, free: 25.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.2945, allocations: 436.2 kB / 451 MB, free: 25.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/0.2952, allocations: 0.7924 MB / 451.8 MB, free: 24.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.2974, allocations: 2.502 MB / 454.3 MB, free: 22.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.2974, allocations: 2.75 kB / 454.3 MB, free: 22.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002033/0.2994, allocations: 1.811 MB / 456.1 MB, free: 21.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.2996, allocations: 344.3 kB / 456.4 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.2996, allocations: 9 kB / 456.4 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.2996, allocations: 22.19 kB / 456.4 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.3, allocations: 116.2 kB / 456.5 MB, free: 21.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/0.3, allocations: 21.7 kB / 456.6 MB, free: 21.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.3005, allocations: 138.9 kB / 456.7 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.3006, allocations: 57.83 kB / 456.8 MB, free: 21.31 MB / 350.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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,$PRE.P1.tokeninout,P1.outTransition[1].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.firingTime,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 (130): * Single equations (assignments): 119 * 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.000851/0.3015, allocations: 0.751 MB / 457.5 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.3016, allocations: 74.53 kB / 457.6 MB, free: 20.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.3042, allocations: 1.946 MB / 459.5 MB, free: 19.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.3043, allocations: 9.906 kB / 459.5 MB, free: 19.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3043, allocations: 0 / 459.5 MB, free: 19.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3043, allocations: 8.281 kB / 459.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.3076, allocations: 2.731 MB / 462.3 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3076, allocations: 1.156 kB / 462.3 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.3078, allocations: 25.03 kB / 462.3 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.3078, allocations: 1.125 kB / 462.3 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.3079, allocations: 48.64 kB / 462.4 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3079, allocations: 6 kB / 462.4 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3079, allocations: 3.984 kB / 462.4 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.3109, allocations: 2.32 MB / 464.7 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.311, allocations: 121.6 kB / 464.8 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.3112, allocations: 74.95 kB / 464.9 MB, free: 17.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.3117, allocations: 87.77 kB / 465 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005077/0.3122, allocations: 323.2 kB / 465.3 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.3123, allocations: 44.48 kB / 465.3 MB, free: 17.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.3126, allocations: 252.3 kB / 465.6 MB, free: 17.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3126, allocations: 0 / 465.6 MB, free: 17.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001122/0.3137, allocations: 338.7 kB / 465.9 MB, free: 16.95 MB / 350.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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.004201/0.3179, allocations: 3.112 MB / 469 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.3208, allocations: 2.122 MB / 471.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3209, allocations: 0 / 471.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.3232, allocations: 3.058 MB / 474.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.3239, allocations: 103.6 kB / 474.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.3369, allocations: 8.041 MB / 482.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/0.3376, allocations: 0.926 MB / 483.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005187/0.3382, allocations: 145.3 kB / 483.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.3385, allocations: 187 kB / 483.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3385, allocations: 0 / 483.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7094/1.048, allocations: 17.6 MB / 0.4894 GB, free: 6.871 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/1.048, allocations: 198.2 kB / 0.4896 GB, free: 6.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/3.211, allocations: 3.984 kB / 0.4896 GB, free: 6.617 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches