Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.001526/0.001526, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001099/0.001099, allocations: 187.8 kB / 16.25 MB, free: 6.641 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1562/0.1562, allocations: 16.78 MB / 306.9 MB, free: 15.02 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 67.89 kB / 371.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2264, allocations: 53.45 MB / 424.7 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002386/0.2288, allocations: 1.98 MB / 426.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.2317, allocations: 1.941 MB / 428.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.2319, allocations: 6.844 kB / 428.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.2323, allocations: 84.95 kB / 428.7 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.2326, allocations: 88.25 kB / 428.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.234, allocations: 0.8059 MB / 429.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.235, allocations: 1.43 MB / 431 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.2352, allocations: 174.9 kB / 431.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.2356, allocations: 0.5276 MB / 431.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.2359, allocations: 350.2 kB / 432.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.389e-05/0.236, allocations: 90.5 kB / 432.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.2365, allocations: 0.5095 MB / 432.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.2366, allocations: 142.3 kB / 432.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.2368, allocations: 394.2 kB / 433.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.2376, allocations: 1.138 MB / 434.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2376, allocations: 0 / 434.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2376, allocations: 0 / 434.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2377, allocations: 0 / 434.3 MB, free: 35.53 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.0012/0.2389, allocations: 1.285 MB / 435.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2389, allocations: 15.42 kB / 435.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.239, allocations: 120.1 kB / 435.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.2393, allocations: 94.61 kB / 435.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.2397, allocations: 436.4 kB / 436.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.2398, allocations: 84.12 kB / 436.4 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.98e-05/0.2399, allocations: 77.38 kB / 436.4 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.2414, allocations: 1.323 MB / 437.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2414, allocations: 2.938 kB / 437.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/0.2415, allocations: 38.17 kB / 437.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.997e-05/0.2416, allocations: 55.73 kB / 437.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.2428, allocations: 0.9199 MB / 438.8 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.2454, allocations: 3.329 MB / 442.1 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.2466, allocations: 1.581 MB / 443.7 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009808/0.2476, allocations: 1.454 MB / 445.1 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.113e-05/0.2477, allocations: 83.73 kB / 445.2 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.2487, allocations: 0.9205 MB / 446.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.044e-06/0.2487, allocations: 0 / 446.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.002968/0.2517, allocations: 2.616 MB / 448.8 MB, free: 27.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.2519, allocations: 0.5387 MB / 449.3 MB, free: 26.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.2522, allocations: 407.3 kB / 449.7 MB, free: 26.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.2523, allocations: 78.81 kB / 449.8 MB, free: 26.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2524, allocations: 254.3 kB / 450 MB, free: 26.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2525, allocations: 192.4 kB / 450.2 MB, free: 25.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.2527, allocations: 229.4 kB / 450.4 MB, free: 25.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.2528, allocations: 376.5 kB / 450.8 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.2533, allocations: 439.2 kB / 451.2 MB, free: 25.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.2539, allocations: 0.814 MB / 452 MB, free: 24.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.2559, allocations: 2.56 MB / 454.6 MB, free: 22.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.256, allocations: 3.438 kB / 454.6 MB, free: 22.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001808/0.2578, allocations: 1.815 MB / 456.4 MB, free: 21.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.2579, allocations: 337.1 kB / 456.8 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.2579, allocations: 12.47 kB / 456.8 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2579, allocations: 16.22 kB / 456.8 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.2583, allocations: 128.6 kB / 456.9 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.2583, allocations: 23.84 kB / 456.9 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.2587, allocations: 130.8 kB / 457.1 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/0.2588, allocations: 57.78 kB / 457.1 MB, free: 21.5 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.0006984/0.2595, allocations: 0.7525 MB / 457.9 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2596, allocations: 76.41 kB / 457.9 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.2621, allocations: 2.015 MB / 460 MB, free: 20.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.2621, allocations: 5.531 kB / 460 MB, free: 20.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2622, allocations: 0 / 460 MB, free: 20.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2622, allocations: 4.562 kB / 460 MB, free: 20.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.2656, allocations: 3.044 MB / 463 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2656, allocations: 0 / 463 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.2658, allocations: 31.03 kB / 463 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2658, allocations: 1.531 kB / 463 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.821e-05/0.2659, allocations: 35.94 kB / 463.1 MB, free: 18.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2659, allocations: 12.8 kB / 463.1 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2659, allocations: 4 kB / 463.1 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.2689, allocations: 2.382 MB / 465.5 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.269, allocations: 136.4 kB / 465.6 MB, free: 17.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.2692, allocations: 79.36 kB / 465.7 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.2696, allocations: 79.3 kB / 465.8 MB, free: 17.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/0.2701, allocations: 323.8 kB / 466.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/0.2702, allocations: 50.7 kB / 466.1 MB, free: 17.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.2704, allocations: 241.8 kB / 466.4 MB, free: 17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2705, allocations: 1.375 kB / 466.4 MB, free: 17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009747/0.2714, allocations: 335.6 kB / 466.7 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: 69 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,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.arcWeight[1],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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (39): * Single equations (assignments): 26 * 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.00356/0.275, allocations: 3.208 MB / 469.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.2774, allocations: 2.177 MB / 472.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2774, allocations: 0 / 472.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.2793, allocations: 3.154 MB / 475.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.2799, allocations: 114.1 kB / 475.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008985/0.2889, allocations: 8.189 MB / 483.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.2893, allocations: 0.9187 MB / 484.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003709/0.2897, allocations: 144.2 kB / 484.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.2899, allocations: 193.1 kB / 484.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2899, allocations: 0 / 484.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/0.4398, allocations: 17.74 MB / 0.4907 GB, free: 5.504 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.44, allocations: 224.1 kB / 0.491 GB, free: 5.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.816, allocations: 0 / 0.491 GB, free: 5.242 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches