Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTD.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.HybTest.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") translateModel(PNlib.Examples.HybTest.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 177.4 kB / 15.43 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.7 MB / 241.9 MB, free: 196 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000803/0.0008031, allocations: 86.11 kB / 293.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07008/0.07008, allocations: 17.11 MB / 361.3 MB, free: 8.855 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002872, allocations: 8 kB / 426.6 MB, free: 83.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08876, allocations: 54.53 MB / 481.1 MB, free: 29.02 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.001635/0.09044, allocations: 1.62 MB / 482.7 MB, free: 27.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.09331, allocations: 3.535 MB / 486.2 MB, free: 23.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.09363, allocations: 4 kB / 486.2 MB, free: 23.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.09393, allocations: 99.36 kB / 486.3 MB, free: 23.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.09431, allocations: 91.38 kB / 486.4 MB, free: 23.24 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.09537, allocations: 0.5617 MB / 487 MB, free: 22.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.09615, allocations: 1.073 MB / 488.1 MB, free: 21.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.09634, allocations: 168.5 kB / 488.2 MB, free: 21.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.09661, allocations: 390.6 kB / 488.6 MB, free: 21.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.09689, allocations: 310.2 kB / 488.9 MB, free: 20.74 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.09697, allocations: 32 kB / 488.9 MB, free: 20.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.09739, allocations: 335.5 kB / 489.3 MB, free: 20.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.09751, allocations: 135.4 kB / 489.4 MB, free: 20.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.09775, allocations: 359.9 kB / 489.7 MB, free: 19.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.09844, allocations: 1.001 MB / 490.8 MB, free: 18.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09846, allocations: 4 kB / 490.8 MB, free: 18.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09846, allocations: 0 / 490.8 MB, free: 18.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.09848, allocations: 0 / 490.8 MB, free: 18.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001045/0.09953, allocations: 1.162 MB / 491.9 MB, free: 17.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.09957, allocations: 12.03 kB / 491.9 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.1001, allocations: 140 kB / 492.1 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.1005, allocations: 426.2 kB / 492.5 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.1006, allocations: 142.4 kB / 492.6 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1007, allocations: 79.98 kB / 492.7 MB, free: 16.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.1023, allocations: 1.276 MB / 494 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1023, allocations: 0 / 494 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.1024, allocations: 43.97 kB / 494 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-05/0.1025, allocations: 61.27 kB / 494.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.1038, allocations: 0.8872 MB / 495 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.1064, allocations: 3.023 MB / 498 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1075, allocations: 1.199 MB / 499.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008196/0.1084, allocations: 0.9683 MB / 0.4884 GB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.866e-05/0.1085, allocations: 101.3 kB / 0.4885 GB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008656/0.1093, allocations: 0.7535 MB / 0.4893 GB, free: 8.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 1.803e-06/0.1093, allocations: 4 kB / 0.4893 GB, free: 8.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.002652/0.112, allocations: 2.178 MB / 0.4914 GB, free: 5.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.1122, allocations: 0.5945 MB / 0.492 GB, free: 5.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.1125, allocations: 413.1 kB / 0.4924 GB, free: 4.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.1125, allocations: 65.69 kB / 0.4924 GB, free: 4.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1127, allocations: 283.9 kB / 0.4927 GB, free: 4.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1128, allocations: 193.7 kB / 0.4929 GB, free: 4.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.1128, allocations: 20 kB / 0.4929 GB, free: 4.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.1129, allocations: 378.7 kB / 0.4933 GB, free: 3.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.1135, allocations: 430 kB / 0.4937 GB, free: 3.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007135/0.1142, allocations: 0.8123 MB / 0.4945 GB, free: 2.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.1164, allocations: 2.458 MB / 0.4969 GB, free: 15.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.1164, allocations: 4 kB / 0.4969 GB, free: 15.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002367/0.1188, allocations: 1.813 MB / 0.4986 GB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.119, allocations: 366.8 kB / 0.499 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.119, allocations: 16.17 kB / 0.499 GB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.1191, allocations: 16 kB / 0.499 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.1195, allocations: 135.7 kB / 0.4992 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.1195, allocations: 23.94 kB / 0.4992 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.12, allocations: 142.9 kB / 0.4993 GB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/0.12, allocations: 56 kB / 0.4994 GB, free: 12.94 MB / 346.7 MB Warning: Assuming fixed start value for the following 21 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 T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.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 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: 55 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition5,P1.disMarksInOut,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$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,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,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,T1.firingCon,P1.reStart,P1.emptying.anytrue,P1.emptying.numtrue,P1.emptying.vec[1],$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,$whenCondition4,$whenCondition3,$whenCondition2,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.active,T1.active,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.arcWeightIntIn[1],T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * 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.0007409/0.1208, allocations: 0.7534 MB / 0.5001 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.1209, allocations: 75.34 kB / 0.5002 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.1234, allocations: 1.62 MB / 0.5018 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1235, allocations: 7.938 kB / 0.5018 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1235, allocations: 4 kB / 0.5018 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.1235, allocations: 3.984 kB / 0.5018 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.1271, allocations: 2.548 MB / 0.5043 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.1271, allocations: 4 kB / 0.5043 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1273, allocations: 43.91 kB / 0.5043 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1273, allocations: 4 kB / 0.5043 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.1274, allocations: 35.98 kB / 0.5043 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1274, allocations: 0 / 0.5043 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1274, allocations: 7.938 kB / 0.5044 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/0.1312, allocations: 2.739 MB / 0.507 GB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.1313, allocations: 132.4 kB / 0.5072 GB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.1315, allocations: 72.03 kB / 0.5072 GB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.132, allocations: 75.95 kB / 0.5073 GB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004993/0.1325, allocations: 307.6 kB / 0.5076 GB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.1326, allocations: 47.97 kB / 0.5076 GB, free: 4.168 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002516/0.1329, allocations: 247.1 kB / 0.5079 GB, free: 3.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1329, allocations: 0 / 0.5079 GB, free: 3.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000952/0.1338, allocations: 311.6 kB / 0.5082 GB, free: 3.621 MB / 346.7 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 ($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,P1.feeding.anytrue,P1.feeding.numtrue,P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.disMarksInOut,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.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,T1.inPlaces[1].tokenInOut,P1.emptying.anytrue,P1.emptying.numtrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.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.disMarksOut.numtrue,P1.disMarkChange,P1.feeding.numtrue,P1.feeding.anytrue,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 (34): * Single equations (assignments): 21 * 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.0007135/0.1345, allocations: 358.7 kB / 0.5085 GB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.1371, allocations: 2.001 MB / 0.5105 GB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1371, allocations: 0 / 0.5105 GB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00211/0.1392, allocations: 2.336 MB / 0.5127 GB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.1398, allocations: 93.34 kB / 0.5128 GB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.1424, allocations: 1.633 MB / 0.5144 GB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.1429, allocations: 0.9306 MB / 0.5153 GB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003293/0.1433, allocations: 132.8 kB / 0.5155 GB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.1434, allocations: 43.44 kB / 0.5155 GB, free: 11.81 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1434, allocations: 0 / 0.5155 GB, free: 11.81 MB / 362.7 MB Notification: Performance of Templates: time 0.01853/0.1619, allocations: 11.42 MB / 0.5267 GB, free: 308 kB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.makefile (rm -f PNlib_PNlib.Examples.HybTest.PCtoTD.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTD.pipe >> ../files/PNlib_PNlib.Examples.HybTest.PCtoTD.sim & ./PNlib_PNlib.Examples.HybTest.PCtoTD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.HybTest.PCtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTD.mat","../files/PNlib_PNlib.Examples.HybTest.PCtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches