Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTCfunction.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.ConTest.PCtoTCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_PCtoTCfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.PCtoTCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_PCtoTCfunction",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.001265/0.001265, allocations: 112.5 kB / 15.73 MB, free: 76 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.001356/0.001357, allocations: 189.2 kB / 16.66 MB, free: 6.582 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1914/0.1914, allocations: 16.76 MB / 307.3 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 69.52 kB / 425.8 MB, free: 37.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1382, allocations: 53.47 MB / 479.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.002965/0.1412, allocations: 1.998 MB / 481.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.1438, allocations: 1.678 MB / 483 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.1441, allocations: 14.88 kB / 483 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.1445, allocations: 127.7 kB / 483.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.1449, allocations: 159.4 kB / 483.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1461, allocations: 0.6979 MB / 484 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1472, allocations: 1.422 MB / 485.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.1475, allocations: 170.1 kB / 485.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.1479, allocations: 0.5396 MB / 486.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.1483, allocations: 371.5 kB / 486.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1484, allocations: 89.22 kB / 486.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006262/0.149, allocations: 0.4956 MB / 487.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1492, allocations: 169.6 kB / 487.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.1496, allocations: 399.9 kB / 487.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1506, allocations: 1.205 MB / 488.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1506, allocations: 0 / 488.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1506, allocations: 0 / 488.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.1506, allocations: 0 / 488.8 MB, free: 3.812 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001322/0.152, allocations: 1.336 MB / 490.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.152, allocations: 11.89 kB / 490.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.1521, allocations: 138.7 kB / 490.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/0.1528, allocations: 148.4 kB / 490.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.1533, allocations: 439 kB / 490.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1534, allocations: 158.3 kB / 491 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.1535, allocations: 87.94 kB / 491.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1551, allocations: 1.334 MB / 492.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1552, allocations: 0 / 492.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.1553, allocations: 39.91 kB / 492.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.1554, allocations: 57.27 kB / 492.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.1569, allocations: 0.9418 MB / 493.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.1604, allocations: 2.945 MB / 496.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.1619, allocations: 1.256 MB / 497.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.163, allocations: 1.131 MB / 498.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.165, allocations: 2.956 MB / 0.49 GB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.1661, allocations: 0.8047 MB / 0.4908 GB, free: 5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.1661, allocations: 0 / 0.4908 GB, free: 5 MB / 366.1 MB Notification: Performance of matching and sorting (n=70): time 0.003599/0.1697, allocations: 2.514 MB / 0.4933 GB, free: 2.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002999/0.1701, allocations: 0.5481 MB / 0.4938 GB, free: 1.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.1705, allocations: 400.2 kB / 0.4942 GB, free: 1.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.474e-05/0.1706, allocations: 61.7 kB / 0.4942 GB, free: 1.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.1708, allocations: 284.8 kB / 0.4945 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.171, allocations: 202.5 kB / 0.4947 GB, free: 0.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.1713, allocations: 222.6 kB / 0.4949 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1714, allocations: 362.8 kB / 0.4952 GB, free: 208 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000705/0.1721, allocations: 478 kB / 0.4957 GB, free: 15.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/0.1731, allocations: 0.8118 MB / 0.4965 GB, free: 14.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.1749, allocations: 1.777 MB / 0.4982 GB, free: 12.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.1749, allocations: 4 kB / 0.4982 GB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002585/0.1775, allocations: 1.926 MB / 0.5001 GB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.1778, allocations: 378.6 kB / 0.5005 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001585/0.1794, allocations: 1.06 MB / 0.5015 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.1797, allocations: 89 kB / 0.5016 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.1801, allocations: 115.7 kB / 0.5017 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004693/0.1806, allocations: 0.6225 MB / 0.5023 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.1811, allocations: 135.2 kB / 0.5024 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/0.1812, allocations: 56 kB / 0.5025 GB, free: 8.152 MB / 382.1 MB Warning: Assuming fixed start value for the following 18 variables: 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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.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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition3,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$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,$PRE.P1.enableIn.arcWeightSum,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.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedOut.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000944/0.1822, allocations: 0.7596 MB / 0.5032 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.1824, allocations: 75.67 kB / 0.5033 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.1852, allocations: 1.977 MB / 0.5052 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.1852, allocations: 7.938 kB / 0.5053 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1853, allocations: 4 kB / 0.5053 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1853, allocations: 0 / 0.5053 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/0.1887, allocations: 2.716 MB / 0.5079 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00251/0.1912, allocations: 1.857 MB / 0.5097 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1914, allocations: 39.86 kB / 0.5098 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.1916, allocations: 60.81 kB / 0.5098 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/0.1917, allocations: 43.97 kB / 0.5099 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/0.1921, allocations: 0.6069 MB / 0.5105 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1921, allocations: 0 / 0.5105 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/0.1962, allocations: 3.052 MB / 0.5134 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1963, allocations: 120.7 kB / 0.5135 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.1965, allocations: 75.97 kB / 0.5136 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.197, allocations: 76 kB / 0.5137 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/0.1974, allocations: 255.8 kB / 0.5139 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.1976, allocations: 47.97 kB / 0.514 GB, free: 11.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.1978, allocations: 231 kB / 0.5142 GB, free: 11.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1978, allocations: 0 / 0.5142 GB, free: 11.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001057/0.1989, allocations: 343.4 kB / 0.5145 GB, free: 11.42 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 57 ($whenCondition1,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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$cse2[1],$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[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.disTAout[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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005067/0.204, allocations: 3.86 MB / 0.5183 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002755/0.2067, allocations: 2.223 MB / 0.5205 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2067, allocations: 0 / 0.5205 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.2092, allocations: 2.524 MB / 0.5229 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.2098, allocations: 99.44 kB / 0.523 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.2202, allocations: 8.072 MB / 0.5309 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.2208, allocations: 0.9416 MB / 0.5318 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.2211, allocations: 136.2 kB / 0.532 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.2214, allocations: 199.4 kB / 0.5322 GB, free: 8.574 MB / 414.1 MB Notification: Performance of SimCode: time 2.124e-06/0.2214, allocations: 0 / 0.5322 GB, free: 8.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0399/0.2613, allocations: 18.14 MB / 0.5499 GB, free: 6.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.59, allocations: 7.594 kB / 0.5499 GB, free: 6.426 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.PCtoTCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.PCtoTCfunction.pipe >> ../files/PNlib_PNlib.Examples.ConTest.PCtoTCfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ConTest.PCtoTCfunction_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_ConTest_PCtoTCfunction.fmu > PNlib_PNlib.Examples.ConTest.PCtoTCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTCfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTCfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.PCtoTCfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches