Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.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.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPC,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPC",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.01104/0.01104, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.001216/0.001216, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.205/0.205, allocations: 16.76 MB / 307.3 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 66.25 kB / 425.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1039, allocations: 53.47 MB / 479.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.002832/0.1068, allocations: 1.979 MB / 481.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1094, allocations: 1.553 MB / 482.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.1098, allocations: 7 kB / 482.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1102, allocations: 122.7 kB / 483 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.1107, allocations: 138.3 kB / 483.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.112, allocations: 0.6513 MB / 483.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1132, allocations: 1.335 MB / 485.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.1135, allocations: 142.2 kB / 485.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.114, allocations: 0.5038 MB / 485.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.1143, allocations: 323.2 kB / 486.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.946e-05/0.1144, allocations: 73.56 kB / 486.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005707/0.115, allocations: 445.5 kB / 486.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.1151, allocations: 154.7 kB / 486.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.1154, allocations: 343.2 kB / 487.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008961/0.1163, allocations: 1.029 MB / 488.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1163, allocations: 0 / 488.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1163, allocations: 0 / 488.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1163, allocations: 0 / 488.1 MB, free: 4.465 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.001227/0.1176, allocations: 1.27 MB / 489.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1176, allocations: 15.83 kB / 489.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1177, allocations: 126.6 kB / 489.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005461/0.1183, allocations: 140.4 kB / 489.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.1187, allocations: 406.7 kB / 490 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1188, allocations: 142.4 kB / 490.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.1189, allocations: 67.98 kB / 490.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.1202, allocations: 1.106 MB / 491.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1202, allocations: 3.984 kB / 491.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.1203, allocations: 39.98 kB / 491.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/0.1204, allocations: 44.97 kB / 491.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1216, allocations: 0.7652 MB / 492.2 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.1251, allocations: 2.75 MB / 495 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.1265, allocations: 1.032 MB / 496 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.1275, allocations: 0.9018 MB / 496.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/0.1295, allocations: 2.892 MB / 499.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.1307, allocations: 0.6797 MB / 0.4887 GB, free: 7.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 4.458e-06/0.1307, allocations: 7.938 kB / 0.4887 GB, free: 7.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=71): time 0.003204/0.1339, allocations: 1.926 MB / 0.4906 GB, free: 5.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003134/0.1343, allocations: 0.5868 MB / 0.4912 GB, free: 4.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.1347, allocations: 380.4 kB / 0.4916 GB, free: 3.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-05/0.1348, allocations: 57.69 kB / 0.4916 GB, free: 3.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.1351, allocations: 261 kB / 0.4919 GB, free: 3.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1353, allocations: 194.6 kB / 0.4921 GB, free: 3.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.1356, allocations: 206.6 kB / 0.4922 GB, free: 3.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1357, allocations: 370.7 kB / 0.4926 GB, free: 2.852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.1363, allocations: 322.1 kB / 0.4929 GB, free: 2.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.1371, allocations: 0.6613 MB / 0.4936 GB, free: 1.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.1397, allocations: 2.119 MB / 0.4956 GB, free: 15.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.1397, allocations: 0 / 0.4956 GB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00237/0.1421, allocations: 1.52 MB / 0.4971 GB, free: 13.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.1423, allocations: 350.7 kB / 0.4974 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008185/0.1431, allocations: 0.5701 MB / 0.498 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.1432, allocations: 16 kB / 0.498 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.1435, allocations: 115.8 kB / 0.4981 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.094e-05/0.1436, allocations: 27.86 kB / 0.4982 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.144, allocations: 115.2 kB / 0.4983 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/0.1441, allocations: 60.02 kB / 0.4983 GB, free: 12.36 MB / 382.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: 48 * 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 (119): * Single equations (assignments): 107 * 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.000975/0.1451, allocations: 0.7081 MB / 0.499 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.1453, allocations: 71.67 kB / 0.4991 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.1476, allocations: 1.428 MB / 0.5005 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1476, allocations: 8 kB / 0.5005 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1476, allocations: 0 / 0.5005 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1476, allocations: 7.984 kB / 0.5005 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.151, allocations: 2.323 MB / 0.5028 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001968/0.153, allocations: 1.357 MB / 0.5041 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.1531, allocations: 35.97 kB / 0.5041 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.1532, allocations: 0 / 0.5041 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.1533, allocations: 35.98 kB / 0.5042 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.1533, allocations: 7.938 kB / 0.5042 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1533, allocations: 3.938 kB / 0.5042 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.157, allocations: 2.469 MB / 0.5066 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1571, allocations: 136.6 kB / 0.5067 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.1573, allocations: 67.97 kB / 0.5068 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.1577, allocations: 55.97 kB / 0.5068 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.1579, allocations: 87.91 kB / 0.5069 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.934e-05/0.158, allocations: 43.97 kB / 0.5069 GB, free: 3.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.1582, allocations: 231 kB / 0.5072 GB, free: 2.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1582, allocations: 0 / 0.5072 GB, free: 2.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009504/0.1592, allocations: 279.6 kB / 0.5074 GB, free: 2.676 MB / 382.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 (35): * Single equations (assignments): 22 * 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.00449/0.1637, allocations: 3.277 MB / 0.5106 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.1659, allocations: 1.758 MB / 0.5124 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1659, allocations: 0.75 kB / 0.5124 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.1679, allocations: 2.223 MB / 0.5145 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.1684, allocations: 81.45 kB / 0.5146 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009682/0.1781, allocations: 6.996 MB / 0.5214 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.1787, allocations: 0.9189 MB / 0.5223 GB, free: 2.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.179, allocations: 112.2 kB / 0.5224 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.1793, allocations: 179.4 kB / 0.5226 GB, free: 2.309 MB / 398.1 MB Notification: Performance of SimCode: time 2.184e-06/0.1793, allocations: 0 / 0.5226 GB, free: 2.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.2176, allocations: 14.81 MB / 0.5371 GB, free: 3.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.635, allocations: 64 / 0.5371 GB, free: 3.512 MB / 414.1 MB (rm -f PNlib_PNlib.Examples.HybTest.TDtoPC.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPC.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPC.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.HybTest.TDtoPC_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_HybTest_TDtoPC.fmu > PNlib_PNlib.Examples.HybTest.TDtoPC.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches