Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPC.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.TCtoPC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.TCtoPC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPC",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.008471/0.00847, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001683/0.001683, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07915/0.07915, allocations: 16.73 MB / 307.3 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 425.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1304, allocations: 53.48 MB / 479.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.003697/0.1341, allocations: 1.987 MB / 481.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.1378, allocations: 1.682 MB / 483 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/0.1384, allocations: 11.94 kB / 483 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.1389, allocations: 131 kB / 483.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007412/0.1397, allocations: 151 kB / 483.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.1417, allocations: 0.6931 MB / 483.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.1436, allocations: 1.416 MB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.144, allocations: 147.8 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008682/0.1449, allocations: 0.5336 MB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006746/0.1455, allocations: 334.3 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.1458, allocations: 76 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009014/0.1467, allocations: 491.4 kB / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.147, allocations: 155.4 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.1475, allocations: 350.3 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.1492, allocations: 1.075 MB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1493, allocations: 0 / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1493, allocations: 0 / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.278e-05/0.1493, allocations: 4 kB / 488.5 MB, free: 12.23 MB / 366.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.002419/0.1517, allocations: 1.277 MB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1518, allocations: 15.89 kB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002509/0.152, allocations: 122.7 kB / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007943/0.1529, allocations: 136.4 kB / 490 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.1536, allocations: 407.2 kB / 490.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.1537, allocations: 146.5 kB / 490.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.1539, allocations: 71.98 kB / 490.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.1558, allocations: 1.122 MB / 491.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.1559, allocations: 0 / 491.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.156, allocations: 40 kB / 491.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.1561, allocations: 52.95 kB / 491.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.1576, allocations: 0.7731 MB / 492.6 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.1616, allocations: 2.785 MB / 495.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.163, allocations: 1.018 MB / 496.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009854/0.164, allocations: 0.9106 MB / 497.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002232/0.1662, allocations: 2.888 MB / 0.4885 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009932/0.1672, allocations: 0.6646 MB / 0.4892 GB, free: 14.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 5.621e-06/0.1672, allocations: 3.984 kB / 0.4892 GB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.003584/0.1708, allocations: 2.097 MB / 0.4912 GB, free: 12.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000382/0.1712, allocations: 0.5243 MB / 0.4917 GB, free: 11.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.1717, allocations: 372.2 kB / 0.4921 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.1718, allocations: 65.69 kB / 0.4921 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.1721, allocations: 261 kB / 0.4924 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.1723, allocations: 182.6 kB / 0.4926 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.1727, allocations: 210.6 kB / 0.4928 GB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1728, allocations: 366.7 kB / 0.4931 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.1734, allocations: 334 kB / 0.4934 GB, free: 10.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/0.1742, allocations: 0.6462 MB / 0.4941 GB, free: 9.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.1761, allocations: 1.62 MB / 0.4956 GB, free: 7.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.1761, allocations: 0 / 0.4956 GB, free: 7.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00241/0.1786, allocations: 1.567 MB / 0.4972 GB, free: 5.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/0.1788, allocations: 358.6 kB / 0.4975 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001215/0.18, allocations: 0.728 MB / 0.4982 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.1804, allocations: 76.95 kB / 0.4983 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.1808, allocations: 115.6 kB / 0.4984 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004993/0.1813, allocations: 0.5992 MB / 0.499 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.1818, allocations: 111.3 kB / 0.4991 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.1819, allocations: 51.98 kB / 0.4992 GB, free: 3.703 MB / 382.1 MB Warning: Assuming fixed start value for the following 18 variables: 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 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 P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 101 ($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,$whenCondition3,$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.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 95 * 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.0009821/0.1829, allocations: 0.7124 MB / 0.4999 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.1832, allocations: 75.66 kB / 0.4999 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.1857, allocations: 1.616 MB / 0.5015 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1857, allocations: 4 kB / 0.5015 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1857, allocations: 4 kB / 0.5015 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1857, allocations: 0 / 0.5015 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3166/0.5023, allocations: 2.494 MB / 0.5039 GB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002381/0.5047, allocations: 1.526 MB / 0.5054 GB, free: 34.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.5049, allocations: 34.16 kB / 0.5055 GB, free: 34.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.5051, allocations: 55.14 kB / 0.5055 GB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.5053, allocations: 36.94 kB / 0.5056 GB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003618/0.5056, allocations: 0.597 MB / 0.5061 GB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5056, allocations: 0 / 0.5061 GB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.5095, allocations: 2.539 MB / 0.5086 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.5096, allocations: 124.3 kB / 0.5087 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.5098, allocations: 73.98 kB / 0.5088 GB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.5102, allocations: 54.98 kB / 0.5089 GB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.5104, allocations: 63.33 kB / 0.5089 GB, free: 32.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.5105, allocations: 48.14 kB / 0.509 GB, free: 32.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.5107, allocations: 226.2 kB / 0.5092 GB, free: 32.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5107, allocations: 1.125 kB / 0.5092 GB, free: 32.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001116/0.5118, allocations: 302.3 kB / 0.5095 GB, free: 32.6 MB / 382.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: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[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.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition3,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) * Number of discrete states: 50 (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,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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],$whenCondition1,P1.enableIn.TEin[1],P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * 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.005007/0.5168, allocations: 3.337 MB / 0.5127 GB, free: 30.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.5192, allocations: 1.794 MB / 0.5145 GB, free: 29.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.5192, allocations: 1.062 kB / 0.5145 GB, free: 29.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.5211, allocations: 2.23 MB / 0.5167 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.5217, allocations: 84.19 kB / 0.5167 GB, free: 28.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.532, allocations: 6.992 MB / 0.5236 GB, free: 23.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.5325, allocations: 0.9163 MB / 0.5245 GB, free: 23.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004038/0.533, allocations: 129 kB / 0.5246 GB, free: 23.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.5332, allocations: 186 kB / 0.5248 GB, free: 23.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5332, allocations: 0 / 0.5248 GB, free: 23.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.5695, allocations: 15.38 MB / 0.5398 GB, free: 11.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.38, allocations: 0 / 0.5398 GB, free: 11.57 MB / 382.1 MB (rm -f PNlib_PNlib.Examples.ConTest.TCtoPC.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPC.pipe >> ../files/PNlib_PNlib.Examples.ConTest.TCtoPC.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ConTest.TCtoPC_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_TCtoPC.fmu > PNlib_PNlib.Examples.ConTest.TCtoPC.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPC_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches