Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.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.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") translateModel(PNlib.Examples.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, 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.315/1.315, allocations: 225.7 MB / 241.9 MB, free: 14.68 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.0008474/0.0008476, allocations: 90.03 kB / 293 MB, free: 4.773 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.07265/0.07265, allocations: 17.12 MB / 361.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 6.469 kB / 426.5 MB, free: 94.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.08318, allocations: 54.54 MB / 481.1 MB, free: 51.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.001701/0.08493, allocations: 1.625 MB / 482.7 MB, free: 49.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.0877, allocations: 3.523 MB / 486.2 MB, free: 45.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.08796, allocations: 3.938 kB / 486.2 MB, free: 45.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.08822, allocations: 95.42 kB / 486.3 MB, free: 45.81 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.08855, allocations: 91.42 kB / 486.4 MB, free: 45.72 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009127/0.08948, allocations: 0.5581 MB / 487 MB, free: 45.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.09011, allocations: 1.077 MB / 488 MB, free: 44.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.09029, allocations: 140.2 kB / 488.2 MB, free: 43.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.09056, allocations: 394.5 kB / 488.6 MB, free: 43.56 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.09083, allocations: 286.3 kB / 488.8 MB, free: 43.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.0909, allocations: 28 kB / 488.9 MB, free: 43.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.09129, allocations: 339.5 kB / 489.2 MB, free: 42.92 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.09142, allocations: 131.5 kB / 489.3 MB, free: 42.79 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.09165, allocations: 320.1 kB / 489.6 MB, free: 42.47 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.09236, allocations: 0.9231 MB / 490.6 MB, free: 41.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.09237, allocations: 0 / 490.6 MB, free: 41.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09238, allocations: 0 / 490.6 MB, free: 41.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.0924, allocations: 0 / 490.6 MB, free: 41.54 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.001026/0.09343, allocations: 1.123 MB / 491.7 MB, free: 40.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.09347, allocations: 8.031 kB / 491.7 MB, free: 40.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.09399, allocations: 144.1 kB / 491.8 MB, free: 40.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.09442, allocations: 410.3 kB / 492.2 MB, free: 39.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.09453, allocations: 138.4 kB / 492.4 MB, free: 39.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.622e-05/0.09464, allocations: 71.98 kB / 492.4 MB, free: 39.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.09603, allocations: 1.098 MB / 493.5 MB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.09606, allocations: 3.938 kB / 493.6 MB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.09613, allocations: 39.98 kB / 493.6 MB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.171e-05/0.09621, allocations: 52.95 kB / 493.6 MB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.09736, allocations: 0.7614 MB / 494.4 MB, free: 37.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.09992, allocations: 2.773 MB / 497.2 MB, free: 34.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009748/0.1009, allocations: 1.039 MB / 498.2 MB, free: 33.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007277/0.1016, allocations: 0.9057 MB / 499.1 MB, free: 32.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.512e-05/0.1017, allocations: 93.33 kB / 499.2 MB, free: 32.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007865/0.1025, allocations: 0.6794 MB / 499.9 MB, free: 31.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 2.314e-06/0.1025, allocations: 0 / 499.9 MB, free: 31.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=71): time 0.002433/0.105, allocations: 1.948 MB / 0.4901 GB, free: 29.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.1052, allocations: 0.5788 MB / 0.4906 GB, free: 29.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.1054, allocations: 376 kB / 0.491 GB, free: 28.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.1055, allocations: 57.69 kB / 0.4911 GB, free: 28.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1056, allocations: 268.4 kB / 0.4913 GB, free: 28.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1057, allocations: 177.8 kB / 0.4915 GB, free: 28.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.1058, allocations: 20 kB / 0.4915 GB, free: 28.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.1059, allocations: 374.7 kB / 0.4919 GB, free: 27.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.1063, allocations: 322.1 kB / 0.4922 GB, free: 27.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.1069, allocations: 0.6691 MB / 0.4928 GB, free: 26.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.1087, allocations: 2.126 MB / 0.4949 GB, free: 24.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.1088, allocations: 0 / 0.4949 GB, free: 24.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001629/0.1104, allocations: 1.524 MB / 0.4964 GB, free: 22.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.1105, allocations: 350.8 kB / 0.4967 GB, free: 22.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.1105, allocations: 15.98 kB / 0.4967 GB, free: 22.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.1106, allocations: 16 kB / 0.4967 GB, free: 22.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.1109, allocations: 123.7 kB / 0.4969 GB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.1109, allocations: 19.94 kB / 0.4969 GB, free: 22.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.1113, allocations: 111 kB / 0.497 GB, free: 21.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.1114, allocations: 63.94 kB / 0.4971 GB, free: 21.84 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: 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,$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 (118): * Single equations (assignments): 106 * 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.0006288/0.112, allocations: 0.71 MB / 0.4977 GB, free: 21.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1121, allocations: 67.44 kB / 0.4978 GB, free: 20.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.1139, allocations: 1.447 MB / 0.4992 GB, free: 19.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1139, allocations: 8 kB / 0.4992 GB, free: 19.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.114, allocations: 0 / 0.4992 GB, free: 19.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.114, allocations: 3.984 kB / 0.4992 GB, free: 19.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.1167, allocations: 2.331 MB / 0.5015 GB, free: 17.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.1167, allocations: 7.984 kB / 0.5015 GB, free: 17.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.1168, allocations: 31.92 kB / 0.5015 GB, free: 17.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1168, allocations: 4 kB / 0.5016 GB, free: 17.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/0.1169, allocations: 47.89 kB / 0.5016 GB, free: 16.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1169, allocations: 0 / 0.5016 GB, free: 16.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1169, allocations: 4 kB / 0.5016 GB, free: 16.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.1197, allocations: 2.469 MB / 0.504 GB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.1198, allocations: 128.4 kB / 0.5041 GB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.12, allocations: 71.91 kB / 0.5042 GB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.1203, allocations: 60.03 kB / 0.5043 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.1205, allocations: 87.91 kB / 0.5043 GB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/0.1206, allocations: 43.97 kB / 0.5044 GB, free: 14.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1208, allocations: 223 kB / 0.5046 GB, free: 13.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1208, allocations: 0 / 0.5046 GB, free: 13.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008454/0.1217, allocations: 287.7 kB / 0.5049 GB, free: 13.54 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 (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.0005797/0.1222, allocations: 356.3 kB / 0.5052 GB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.124, allocations: 1.753 MB / 0.5069 GB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.124, allocations: 1.812 kB / 0.5069 GB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.1253, allocations: 2.224 MB / 0.5091 GB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.1258, allocations: 89.05 kB / 0.5092 GB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.1279, allocations: 1.589 MB / 0.5107 GB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1282, allocations: 0.9149 MB / 0.5116 GB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000251/0.1284, allocations: 116.3 kB / 0.5117 GB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.1285, allocations: 35.44 kB / 0.5118 GB, free: 6.16 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1285, allocations: 0 / 0.5118 GB, free: 6.16 MB / 346.7 MB Notification: Performance of Templates: time 0.01411/0.1426, allocations: 9.814 MB / 0.5214 GB, free: 12.3 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.makefile (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 & ./PNlib_PNlib.Examples.HybTest.TDtoPC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.HybTest.TDtoPC.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPC.mat","../files/PNlib_PNlib.Examples.HybTest.TDtoPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches