Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.HybTest.TDtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPCfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPCfunction",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.001066/0.001066, 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.001092/0.001092, allocations: 195.9 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1829/0.1829, allocations: 16.74 MB / 307.1 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 371.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2482, allocations: 53.45 MB / 425.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.002868/0.2511, allocations: 1.971 MB / 427.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.2536, allocations: 1.561 MB / 428.7 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.2538, allocations: 12.66 kB / 428.8 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.2542, allocations: 124.5 kB / 428.9 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.2546, allocations: 112.8 kB / 429 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.2558, allocations: 0.6542 MB / 429.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.2568, allocations: 1.326 MB / 431 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.2571, allocations: 144.6 kB / 431.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003906/0.2575, allocations: 0.502 MB / 431.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.2578, allocations: 320.9 kB / 431.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.2579, allocations: 73.53 kB / 432 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.2584, allocations: 446.8 kB / 432.4 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.2586, allocations: 148.1 kB / 432.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.2588, allocations: 345.7 kB / 432.9 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007883/0.2596, allocations: 1.016 MB / 433.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2596, allocations: 11.94 kB / 433.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2596, allocations: 0 / 433.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.2597, allocations: 0 / 433.9 MB, free: 35.83 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001358/0.261, allocations: 1.252 MB / 435.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2611, allocations: 13.55 kB / 435.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.2612, allocations: 122.8 kB / 435.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005848/0.2618, allocations: 137.6 kB / 435.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.2623, allocations: 406.6 kB / 435.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.2624, allocations: 148.7 kB / 436 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.2625, allocations: 72.23 kB / 436.1 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.2639, allocations: 1.107 MB / 437.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.2639, allocations: 3.938 kB / 437.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.264, allocations: 35.66 kB / 437.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.672e-05/0.2641, allocations: 53.47 kB / 437.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2653, allocations: 0.7551 MB / 438 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.2681, allocations: 2.775 MB / 440.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.2692, allocations: 1.122 MB / 441.9 MB, free: 30.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/0.27, allocations: 0.9712 MB / 442.9 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.2713, allocations: 2.876 MB / 445.8 MB, free: 27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008411/0.2722, allocations: 0.7084 MB / 446.5 MB, free: 26.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/0.2722, allocations: 0 / 446.5 MB, free: 26.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002636/0.2748, allocations: 2.009 MB / 448.5 MB, free: 25.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/0.275, allocations: 0.5807 MB / 449.1 MB, free: 25.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.2754, allocations: 367.7 kB / 449.4 MB, free: 24.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.2754, allocations: 61.11 kB / 449.5 MB, free: 24.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2756, allocations: 257.7 kB / 449.7 MB, free: 24.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.2757, allocations: 187.5 kB / 449.9 MB, free: 24.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.2759, allocations: 202.6 kB / 450.1 MB, free: 24.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.276, allocations: 374.8 kB / 450.5 MB, free: 24.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.2765, allocations: 325.9 kB / 450.8 MB, free: 24.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.2771, allocations: 0.6534 MB / 451.5 MB, free: 23.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.2792, allocations: 2.113 MB / 453.6 MB, free: 21.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.2792, allocations: 3.625 kB / 453.6 MB, free: 21.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001776/0.281, allocations: 1.515 MB / 455.1 MB, free: 20.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.2811, allocations: 347.9 kB / 455.4 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007172/0.2818, allocations: 0.583 MB / 456 MB, free: 20.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.2819, allocations: 15.38 kB / 456 MB, free: 20.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.2822, allocations: 116.7 kB / 456.1 MB, free: 20.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.2823, allocations: 22.59 kB / 456.2 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.2827, allocations: 108.3 kB / 456.3 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.2828, allocations: 53.25 kB / 456.3 MB, free: 20.23 MB / 350.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = true protected = true ) 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 P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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: 108 ($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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.0007539/0.2835, allocations: 0.7197 MB / 457 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2837, allocations: 66.34 kB / 457.1 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.2856, allocations: 1.492 MB / 458.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.2856, allocations: 2.844 kB / 458.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2856, allocations: 2.875 kB / 458.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2857, allocations: 3.188 kB / 458.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.2887, allocations: 2.397 MB / 461 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001987/0.2907, allocations: 1.404 MB / 462.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.2909, allocations: 32.39 kB / 462.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.2909, allocations: 2.25 kB / 462.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/0.291, allocations: 49.77 kB / 462.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.291, allocations: 5.219 kB / 462.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.291, allocations: 1.25 kB / 462.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.2945, allocations: 2.54 MB / 465 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.2947, allocations: 128.7 kB / 465.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.2949, allocations: 67.25 kB / 465.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.2952, allocations: 62.89 kB / 465.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.2955, allocations: 90.19 kB / 465.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/0.2956, allocations: 43.89 kB / 465.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.2958, allocations: 221.4 kB / 465.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2958, allocations: 1.219 kB / 465.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001081/0.2969, allocations: 282.4 kB / 465.9 MB, free: 15.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,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.disTAin[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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.004204/0.3011, allocations: 3.342 MB / 469.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.3034, allocations: 1.782 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3034, allocations: 1.156 kB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.3051, allocations: 2.291 MB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.3057, allocations: 89.09 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009749/0.3154, allocations: 7.175 MB / 480.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.3159, allocations: 0.9144 MB / 481.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003699/0.3163, allocations: 121.8 kB / 481.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.3166, allocations: 177.6 kB / 481.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3166, allocations: 0 / 481.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.3523, allocations: 14.68 MB / 496.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/7.169, allocations: 12.05 kB / 496.5 MB, free: 11.04 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPCfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_TDtoPCfunction.fmu > PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat","../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.color[1],P1.color[2],P1.color[3],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.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,der(P1.t_),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