Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.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.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",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.001213/0.001213, allocations: 108 kB / 15.63 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 196.1 kB / 16.56 MB, free: 6.637 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.217/0.217, allocations: 16.75 MB / 307.1 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 55.91 kB / 371.8 MB, free: 3.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2528, allocations: 53.46 MB / 425.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002748/0.2556, allocations: 1.862 MB / 427.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.2585, allocations: 1.963 MB / 429.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.2587, allocations: 5.688 kB / 429.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.2592, allocations: 113.1 kB / 429.2 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.2594, allocations: 118.3 kB / 429.3 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.261, allocations: 0.9138 MB / 430.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.2622, allocations: 1.425 MB / 431.6 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.2624, allocations: 144.2 kB / 431.8 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.2629, allocations: 0.5345 MB / 432.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.2633, allocations: 310.5 kB / 432.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.2634, allocations: 71.06 kB / 432.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006366/0.264, allocations: 0.526 MB / 433.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.2642, allocations: 134.3 kB / 433.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2644, allocations: 342.1 kB / 433.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009071/0.2653, allocations: 1.065 MB / 434.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2654, allocations: 2.656 kB / 434.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2654, allocations: 0 / 434.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.2654, allocations: 0 / 434.7 MB, free: 35.51 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001277/0.2667, allocations: 1.252 MB / 436 MB, free: 34.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2667, allocations: 13.05 kB / 436 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.2668, allocations: 117.7 kB / 436.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.2671, allocations: 84.09 kB / 436.2 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.2676, allocations: 409 kB / 436.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.94e-05/0.2677, allocations: 74.78 kB / 436.7 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.2678, allocations: 72.42 kB / 436.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.2692, allocations: 1.147 MB / 437.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.2692, allocations: 3.938 kB / 437.9 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.2693, allocations: 35.73 kB / 437.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.811e-05/0.2694, allocations: 50.03 kB / 438 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.2705, allocations: 0.7547 MB / 438.7 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.2732, allocations: 3.031 MB / 441.8 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2743, allocations: 1.301 MB / 443.1 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009387/0.2752, allocations: 1.206 MB / 444.3 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.326e-05/0.2753, allocations: 90.92 kB / 444.4 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.2763, allocations: 0.8248 MB / 445.2 MB, free: 28.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.455e-06/0.2764, allocations: 0 / 445.2 MB, free: 28.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.002736/0.2791, allocations: 2.266 MB / 447.4 MB, free: 27.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.2793, allocations: 0.615 MB / 448.1 MB, free: 27.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.2797, allocations: 381.2 kB / 448.4 MB, free: 26.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.2797, allocations: 68.31 kB / 448.5 MB, free: 26.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2799, allocations: 243.2 kB / 448.7 MB, free: 26.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.28, allocations: 197.9 kB / 448.9 MB, free: 26.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.2802, allocations: 214.9 kB / 449.1 MB, free: 26.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.2803, allocations: 378.6 kB / 449.5 MB, free: 26.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.2808, allocations: 324.5 kB / 449.8 MB, free: 26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.2814, allocations: 0.6836 MB / 450.5 MB, free: 25.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.2832, allocations: 2.12 MB / 452.6 MB, free: 23.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.2832, allocations: 7.031 kB / 452.6 MB, free: 23.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001731/0.285, allocations: 1.544 MB / 454.2 MB, free: 22.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.2851, allocations: 345.6 kB / 454.5 MB, free: 22.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2851, allocations: 9.5 kB / 454.5 MB, free: 22.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.2851, allocations: 21.16 kB / 454.5 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.2855, allocations: 120.9 kB / 454.7 MB, free: 22.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.2855, allocations: 30.88 kB / 454.7 MB, free: 22.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.2859, allocations: 115.2 kB / 454.8 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/0.286, allocations: 57.28 kB / 454.9 MB, free: 22.39 MB / 350.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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,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,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.000694/0.2867, allocations: 0.7369 MB / 455.6 MB, free: 21.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.2868, allocations: 67.81 kB / 455.7 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.2889, allocations: 1.715 MB / 457.4 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.289, allocations: 10.02 kB / 457.4 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.289, allocations: 3.594 kB / 457.4 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.289, allocations: 3.188 kB / 457.4 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.2923, allocations: 2.676 MB / 460.1 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2923, allocations: 0.8906 kB / 460.1 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.2924, allocations: 20.88 kB / 460.1 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2924, allocations: 3.234 kB / 460.1 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.2925, allocations: 41.52 kB / 460.1 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.2925, allocations: 1.25 kB / 460.1 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.2925, allocations: 5.344 kB / 460.1 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.2952, allocations: 2.138 MB / 462.3 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.2953, allocations: 127.4 kB / 462.4 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.2955, allocations: 76.2 kB / 462.5 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.2959, allocations: 49.05 kB / 462.5 MB, free: 18.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.2961, allocations: 89.5 kB / 462.6 MB, free: 18.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/0.2962, allocations: 41.97 kB / 462.7 MB, free: 18.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.2964, allocations: 234.9 kB / 462.9 MB, free: 18.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2964, allocations: 0 / 462.9 MB, free: 18.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00105/0.2975, allocations: 317.3 kB / 463.2 MB, free: 18.24 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: 68 ($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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.003499/0.301, allocations: 2.938 MB / 466.1 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.303, allocations: 1.829 MB / 468 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.303, allocations: 4.062 kB / 468 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.3048, allocations: 2.822 MB / 470.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.3054, allocations: 102.9 kB / 470.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.3144, allocations: 7.351 MB / 478.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.3149, allocations: 0.9018 MB / 479.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003812/0.3153, allocations: 137.7 kB / 479.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.3155, allocations: 177 kB / 479.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3155, allocations: 0 / 479.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.3513, allocations: 15.83 MB / 495.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.418/6.769, allocations: 11.56 kB / 495.3 MB, free: 12.98 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","../files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:P1.t,T2.active,T2.fire,time Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneIn[1],P1.enablingPrioIn[1],P1.enablingProbIn[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,T2.active,T2.arcWeightOut[1],T2.event[1],T2.event[2],T2.event[3],T2.fire,T2.firingCon,T2.nIn,T2.nOut,T2.outPlaces[1].active,T2.outPlaces[1].arcWeight,T2.outPlaces[1].arcWeightint,T2.outPlaces[1].decreasingFactor,T2.outPlaces[1].disPlace,T2.outPlaces[1].disTransition,T2.outPlaces[1].emptied,T2.outPlaces[1].enable,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].fire,T2.outPlaces[1].instSpeed,T2.outPlaces[1].maxSpeed,T2.outPlaces[1].maxTokens,T2.outPlaces[1].maxTokensint,T2.outPlaces[1].prelimSpeed,T2.outPlaces[1].speedSum,T2.outPlaces[1].t,T2.outPlaces[1].tint,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time