Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") translateModel(PNlib.Examples.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 176.4 kB / 15.43 MB, free: 6.207 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.301/1.301, allocations: 225.7 MB / 241.9 MB, free: 14.67 MB / 202.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.0007228/0.0007229, allocations: 97.11 kB / 293 MB, free: 4.816 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.08105/0.08105, allocations: 17.12 MB / 361.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 9.531 kB / 426.5 MB, free: 94.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 54.54 MB / 481.1 MB, free: 51.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.001668/0.1081, allocations: 1.623 MB / 482.7 MB, free: 49.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.111, allocations: 3.521 MB / 486.2 MB, free: 45.92 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.1113, allocations: 4 kB / 486.2 MB, free: 45.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1116, allocations: 100.2 kB / 486.3 MB, free: 45.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.112, allocations: 89.47 kB / 486.4 MB, free: 45.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1131, allocations: 0.5552 MB / 487 MB, free: 45.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.1137, allocations: 1.077 MB / 488 MB, free: 44.1 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.1139, allocations: 148.1 kB / 488.2 MB, free: 43.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.1142, allocations: 390.6 kB / 488.6 MB, free: 43.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1145, allocations: 294.2 kB / 488.9 MB, free: 43.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.1146, allocations: 28 kB / 488.9 MB, free: 43.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.115, allocations: 327.6 kB / 489.2 MB, free: 42.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1152, allocations: 123.5 kB / 489.3 MB, free: 42.81 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.1154, allocations: 328 kB / 489.6 MB, free: 42.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.1161, allocations: 0.9232 MB / 490.6 MB, free: 41.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1161, allocations: 0 / 490.6 MB, free: 41.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1161, allocations: 0 / 490.6 MB, free: 41.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1162, allocations: 0 / 490.6 MB, free: 41.55 MB / 346.7 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.00116/0.1173, allocations: 1.13 MB / 491.7 MB, free: 40.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1174, allocations: 8.031 kB / 491.7 MB, free: 40.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.1179, allocations: 128.1 kB / 491.8 MB, free: 40.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.1184, allocations: 414.3 kB / 492.2 MB, free: 39.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.1185, allocations: 142.4 kB / 492.4 MB, free: 39.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.1186, allocations: 75.98 kB / 492.5 MB, free: 39.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.12, allocations: 1.102 MB / 493.6 MB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.12, allocations: 3.938 kB / 493.6 MB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.1201, allocations: 31.98 kB / 493.6 MB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/0.1202, allocations: 56.95 kB / 493.6 MB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1213, allocations: 0.7692 MB / 494.4 MB, free: 37.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.1241, allocations: 2.792 MB / 497.2 MB, free: 34.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.1251, allocations: 1.129 MB / 498.3 MB, free: 33.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.1259, allocations: 0.9757 MB / 499.3 MB, free: 32.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.631e-05/0.126, allocations: 89.11 kB / 499.4 MB, free: 32.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000834/0.1269, allocations: 0.7133 MB / 0.4884 GB, free: 31.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 2.104e-06/0.1269, allocations: 0 / 0.4884 GB, free: 31.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.002471/0.1294, allocations: 2.026 MB / 0.4904 GB, free: 29.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/0.1296, allocations: 0.5788 MB / 0.4909 GB, free: 28.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.1298, allocations: 360.3 kB / 0.4913 GB, free: 28.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.1299, allocations: 65.69 kB / 0.4913 GB, free: 28.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.13, allocations: 256.3 kB / 0.4916 GB, free: 28.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.1301, allocations: 193.7 kB / 0.4918 GB, free: 27.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.1302, allocations: 20 kB / 0.4918 GB, free: 27.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.1303, allocations: 370.7 kB / 0.4921 GB, free: 27.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.1307, allocations: 322.1 kB / 0.4924 GB, free: 27.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.1313, allocations: 0.6635 MB / 0.4931 GB, free: 26.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.1331, allocations: 2.124 MB / 0.4952 GB, free: 23.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.1331, allocations: 4 kB / 0.4952 GB, free: 23.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001651/0.1348, allocations: 1.515 MB / 0.4967 GB, free: 22.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.1349, allocations: 347.5 kB / 0.497 GB, free: 21.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.1349, allocations: 15.98 kB / 0.497 GB, free: 21.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.135, allocations: 20 kB / 0.497 GB, free: 21.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.1353, allocations: 111.8 kB / 0.4971 GB, free: 21.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/0.1353, allocations: 27.86 kB / 0.4972 GB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.1357, allocations: 111 kB / 0.4973 GB, free: 21.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.1358, allocations: 51.98 kB / 0.4973 GB, free: 21.6 MB / 346.7 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.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.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: 46 * 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,$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.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition5,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$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.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,$whenCondition1,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.firingCon,P1.reStart,P1.feeding.anytrue,P1.feeding.numtrue,P1.feeding.vec[1],$PRE.P1.enableIn.TEin[1],$PRE.T1.firingTime,$whenCondition4,$whenCondition3,$whenCondition2,P1.fireIn[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.active,T1.active,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.arcWeightIntOut[1],T1.enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 104 * 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.0006158/0.1364, allocations: 0.7177 MB / 0.498 GB, free: 20.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.1365, allocations: 71.38 kB / 0.4981 GB, free: 20.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.1384, allocations: 1.494 MB / 0.4995 GB, free: 19.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.1384, allocations: 8 kB / 0.4995 GB, free: 19.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1384, allocations: 0 / 0.4995 GB, free: 19.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1384, allocations: 7.984 kB / 0.4996 GB, free: 19.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.1411, allocations: 2.41 MB / 0.5019 GB, free: 16.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.1412, allocations: 3.984 kB / 0.5019 GB, free: 16.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1413, allocations: 31.92 kB / 0.5019 GB, free: 16.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1413, allocations: 4 kB / 0.5019 GB, free: 16.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/0.1414, allocations: 39.91 kB / 0.502 GB, free: 16.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.1414, allocations: 4 kB / 0.502 GB, free: 16.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1414, allocations: 4 kB / 0.502 GB, free: 16.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.1443, allocations: 2.548 MB / 0.5045 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.1444, allocations: 124.5 kB / 0.5046 GB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.1446, allocations: 71.91 kB / 0.5047 GB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.1449, allocations: 60.03 kB / 0.5047 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.1451, allocations: 87.91 kB / 0.5048 GB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/0.1452, allocations: 47.95 kB / 0.5049 GB, free: 13.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1454, allocations: 215 kB / 0.5051 GB, free: 13.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1454, allocations: 0 / 0.5051 GB, free: 13.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008802/0.1463, allocations: 291.6 kB / 0.5053 GB, free: 13.08 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.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.emptying.anytrue,P1.emptying.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.emptying.numtrue,P1.emptying.anytrue,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) * 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.0005772/0.1469, allocations: 356.3 kB / 0.5057 GB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.1485, allocations: 1.785 MB / 0.5074 GB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1485, allocations: 3.938 kB / 0.5074 GB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.1499, allocations: 2.283 MB / 0.5097 GB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1504, allocations: 86 kB / 0.5097 GB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1524, allocations: 1.648 MB / 0.5113 GB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1528, allocations: 0.9189 MB / 0.5122 GB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.153, allocations: 116.2 kB / 0.5124 GB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.1531, allocations: 39.44 kB / 0.5124 GB, free: 5.547 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1531, allocations: 0 / 0.5124 GB, free: 5.547 MB / 346.7 MB Notification: Performance of Templates: time 0.01409/0.1672, allocations: 9.875 MB / 0.522 GB, free: 11.62 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile (rm -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.sim & ./PNlib_PNlib.Examples.HybTest.TDtoPCfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat","../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches