Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPCfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.TCtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPCfunction",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.009254/0.009254, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002148/0.002148, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.253/0.253, allocations: 16.75 MB / 307.3 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 66.2 kB / 425.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 53.48 MB / 479.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.002966/0.1169, allocations: 1.992 MB / 481.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1197, allocations: 1.678 MB / 483 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.12, allocations: 10.81 kB / 483 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.1204, allocations: 128.2 kB / 483.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004364/0.1209, allocations: 141.3 kB / 483.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1225, allocations: 0.6987 MB / 484 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.1238, allocations: 1.416 MB / 485.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.1241, allocations: 142.7 kB / 485.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.1246, allocations: 0.538 MB / 486.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.125, allocations: 335 kB / 486.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1252, allocations: 73.41 kB / 486.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007756/0.126, allocations: 493.7 kB / 487 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.1261, allocations: 157.1 kB / 487.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.1264, allocations: 345.4 kB / 487.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009478/0.1274, allocations: 1.084 MB / 488.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1274, allocations: 0 / 488.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1274, allocations: 0 / 488.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1274, allocations: 4 kB / 488.5 MB, free: 4.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001282/0.1287, allocations: 1.269 MB / 489.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1288, allocations: 11.89 kB / 489.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.1289, allocations: 126.6 kB / 489.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005848/0.1295, allocations: 152.3 kB / 490.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.13, allocations: 399.2 kB / 490.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.1301, allocations: 146.5 kB / 490.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.1302, allocations: 71.98 kB / 490.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1316, allocations: 1.122 MB / 491.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1316, allocations: 7.938 kB / 491.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.1317, allocations: 35.98 kB / 491.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.947e-05/0.1318, allocations: 52.95 kB / 491.9 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.133, allocations: 0.7731 MB / 492.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.1364, allocations: 2.801 MB / 495.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.1377, allocations: 1.087 MB / 496.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009862/0.1387, allocations: 0.9672 MB / 497.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/0.1406, allocations: 2.88 MB / 0.4887 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009467/0.1416, allocations: 0.6956 MB / 0.4894 GB, free: 6.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=68): time 2.575e-06/0.1416, allocations: 0 / 0.4894 GB, free: 6.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.003395/0.145, allocations: 2.169 MB / 0.4915 GB, free: 4.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002894/0.1453, allocations: 0.5282 MB / 0.492 GB, free: 3.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.1457, allocations: 364.3 kB / 0.4923 GB, free: 3.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.1458, allocations: 57.69 kB / 0.4924 GB, free: 3.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.146, allocations: 265 kB / 0.4927 GB, free: 2.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1461, allocations: 182.6 kB / 0.4928 GB, free: 2.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.1464, allocations: 202.6 kB / 0.493 GB, free: 2.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1465, allocations: 374.7 kB / 0.4934 GB, free: 2.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.1471, allocations: 325.8 kB / 0.4937 GB, free: 1.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.1478, allocations: 0.6421 MB / 0.4943 GB, free: 1.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.1494, allocations: 1.615 MB / 0.4959 GB, free: 15.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.1494, allocations: 4 kB / 0.4959 GB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002076/0.1515, allocations: 1.555 MB / 0.4974 GB, free: 13.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.1517, allocations: 354.8 kB / 0.4978 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001166/0.1529, allocations: 0.7514 MB / 0.4985 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.1532, allocations: 80.8 kB / 0.4986 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.1536, allocations: 111.7 kB / 0.4987 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004816/0.1541, allocations: 0.6187 MB / 0.4993 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.1545, allocations: 103.3 kB / 0.4994 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.1546, allocations: 55.98 kB / 0.4994 GB, free: 11.32 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: 42 * 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 (105): * Single equations (assignments): 93 * 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.000841/0.1554, allocations: 0.7108 MB / 0.5001 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.1556, allocations: 71.66 kB / 0.5002 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.158, allocations: 1.684 MB / 0.5018 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.158, allocations: 4 kB / 0.5018 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.158, allocations: 0 / 0.5018 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.158, allocations: 0 / 0.5018 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.1615, allocations: 2.554 MB / 0.5043 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002112/0.1636, allocations: 1.57 MB / 0.5059 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1637, allocations: 27.92 kB / 0.5059 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.164, allocations: 68.8 kB / 0.506 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/0.1641, allocations: 35.98 kB / 0.506 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004257/0.1645, allocations: 0.607 MB / 0.5066 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1645, allocations: 0 / 0.5066 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.1681, allocations: 2.611 MB / 0.5091 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1682, allocations: 120.7 kB / 0.5093 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.1684, allocations: 71.98 kB / 0.5093 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.1688, allocations: 51.95 kB / 0.5094 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.169, allocations: 67.98 kB / 0.5094 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/0.1691, allocations: 47.95 kB / 0.5095 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.1693, allocations: 219.1 kB / 0.5097 GB, free: 424 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1693, allocations: 0 / 0.5097 GB, free: 424 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1703, allocations: 299.5 kB / 0.51 GB, free: 124 kB / 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.004549/0.1749, allocations: 3.423 MB / 0.5133 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.1772, allocations: 1.823 MB / 0.5151 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1772, allocations: 0 / 0.5151 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.179, allocations: 2.297 MB / 0.5173 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.1796, allocations: 88.09 kB / 0.5174 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009222/0.1888, allocations: 7.043 MB / 0.5243 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.1894, allocations: 0.9221 MB / 0.5252 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000307/0.1897, allocations: 128.4 kB / 0.5253 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.1899, allocations: 183.4 kB / 0.5255 GB, free: 15.45 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1899, allocations: 0 / 0.5255 GB, free: 15.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.228, allocations: 15.43 MB / 0.5406 GB, free: 68 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/12.94, allocations: 23.11 kB / 0.5406 GB, free: 48 kB / 414.1 MB (rm -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 PNlib_PNlib_Examples_ConTest_TCtoPCfunction.fmu > PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches