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 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.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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 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.001098/0.001098, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.365/1.365, 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 3.0.0-master/package.mo): time 0.189/0.189, allocations: 16.75 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.89 kB / 371.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2315, allocations: 53.45 MB / 425.2 MB, free: 39.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.002611/0.2342, allocations: 1.963 MB / 427.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.2365, allocations: 1.566 MB / 428.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.2368, allocations: 12.06 kB / 428.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.2371, allocations: 122.3 kB / 428.9 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.2375, allocations: 118.5 kB / 429 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2387, allocations: 0.6456 MB / 429.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009604/0.2397, allocations: 1.329 MB / 430.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.2399, allocations: 143.4 kB / 431.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.2403, allocations: 0.4935 MB / 431.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.2406, allocations: 331.4 kB / 431.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.2407, allocations: 70.41 kB / 432 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.2412, allocations: 415.3 kB / 432.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.2414, allocations: 144.3 kB / 432.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.2417, allocations: 341.9 kB / 432.8 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.2426, allocations: 1.001 MB / 433.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2426, allocations: 3.031 kB / 433.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2426, allocations: 0 / 433.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2427, allocations: 0 / 433.9 MB, free: 36.21 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.001466/0.2441, allocations: 1.251 MB / 435.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2442, allocations: 12.45 kB / 435.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.2443, allocations: 121.5 kB / 435.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.2449, allocations: 141 kB / 435.4 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.2453, allocations: 414.3 kB / 435.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2454, allocations: 143.1 kB / 435.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.2455, allocations: 68.77 kB / 436 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.247, allocations: 1.105 MB / 437.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.247, allocations: 3.984 kB / 437.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.2471, allocations: 40.44 kB / 437.1 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-05/0.2472, allocations: 53.64 kB / 437.2 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.2485, allocations: 0.7601 MB / 437.9 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.2512, allocations: 2.787 MB / 440.7 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2523, allocations: 1.12 MB / 441.9 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007879/0.2531, allocations: 0.9776 MB / 442.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.2544, allocations: 2.875 MB / 445.7 MB, free: 27.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008387/0.2552, allocations: 0.7034 MB / 446.4 MB, free: 27.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.2553, allocations: 0 / 446.4 MB, free: 27.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00258/0.2578, allocations: 2.015 MB / 448.4 MB, free: 26.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.258, allocations: 0.5817 MB / 449 MB, free: 25.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.2584, allocations: 366.2 kB / 449.4 MB, free: 25.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.2584, allocations: 64.42 kB / 449.4 MB, free: 25.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2586, allocations: 246.5 kB / 449.7 MB, free: 25.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.2587, allocations: 185.9 kB / 449.8 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.2589, allocations: 203.7 kB / 450 MB, free: 24.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.259, allocations: 371.8 kB / 450.4 MB, free: 24.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.2595, allocations: 332.2 kB / 450.7 MB, free: 24.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.2601, allocations: 0.6526 MB / 451.4 MB, free: 23.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.2621, allocations: 2.113 MB / 453.5 MB, free: 22.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.2622, allocations: 7.469 kB / 453.5 MB, free: 22.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001779/0.2639, allocations: 1.515 MB / 455 MB, free: 21.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.2641, allocations: 341.7 kB / 455.4 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006977/0.2648, allocations: 0.5925 MB / 455.9 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.2648, allocations: 15.44 kB / 456 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.2651, allocations: 114.6 kB / 456.1 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.2652, allocations: 26.56 kB / 456.1 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.2656, allocations: 101.6 kB / 456.2 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.2656, allocations: 59.19 kB / 456.3 MB, free: 20.6 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.0007207/0.2664, allocations: 0.7117 MB / 457 MB, free: 20.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.2665, allocations: 70.27 kB / 457 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.2685, allocations: 1.493 MB / 458.5 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2685, allocations: 2.938 kB / 458.5 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.2685, allocations: 3.094 kB / 458.5 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2685, allocations: 4 kB / 458.5 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.2717, allocations: 2.399 MB / 460.9 MB, free: 18.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00206/0.2738, allocations: 1.411 MB / 462.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.274, allocations: 29.45 kB / 462.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.274, allocations: 1.25 kB / 462.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-05/0.2741, allocations: 37.66 kB / 462.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.2741, allocations: 6.406 kB / 462.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2741, allocations: 5.031 kB / 462.4 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.2776, allocations: 2.547 MB / 465 MB, free: 16.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.2777, allocations: 122.5 kB / 465.1 MB, free: 16.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.2779, allocations: 66.88 kB / 465.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.2783, allocations: 62.06 kB / 465.2 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.2786, allocations: 87.5 kB / 465.3 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/0.2787, allocations: 38.55 kB / 465.3 MB, free: 16.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.2789, allocations: 228 kB / 465.6 MB, free: 16.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2789, allocations: 0 / 465.6 MB, free: 16.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001063/0.28, allocations: 286.9 kB / 465.8 MB, free: 15.96 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.004435/0.2844, allocations: 3.336 MB / 469.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.2872, allocations: 1.842 MB / 471 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.2873, allocations: 2.062 kB / 471 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.2892, allocations: 2.299 MB / 473.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.2898, allocations: 87.36 kB / 473.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00983/0.2996, allocations: 7.102 MB / 480.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3001, allocations: 0.9186 MB / 481.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.3005, allocations: 112 kB / 481.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.3007, allocations: 178.4 kB / 481.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3007, allocations: 0 / 481.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/0.337, allocations: 14.7 MB / 496.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.31, allocations: 4.109 kB / 496.4 MB, free: 11.2 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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_HybTest_TDtoPCfunction.fmu > PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches