Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTC.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.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") translateModel(PNlib.Examples.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 180.8 kB / 15.43 MB, free: 5.77 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.374/1.374, allocations: 225.7 MB / 241.9 MB, free: 380 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.000775/0.000775, allocations: 92.47 kB / 293.1 MB, free: 12.89 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.07096/0.07096, allocations: 17.11 MB / 361.3 MB, free: 8.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004355, allocations: 9.984 kB / 426.5 MB, free: 83.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07795/0.07841, allocations: 54.54 MB / 481.1 MB, free: 29.03 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.001627/0.08008, allocations: 1.639 MB / 482.7 MB, free: 27.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.08325, allocations: 3.822 MB / 486.6 MB, free: 23.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.08364, allocations: 7.938 kB / 486.6 MB, free: 23.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.08396, allocations: 111.3 kB / 486.7 MB, free: 22.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.08448, allocations: 95.42 kB / 486.8 MB, free: 22.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.08582, allocations: 0.5929 MB / 487.4 MB, free: 22.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009444/0.08678, allocations: 1.143 MB / 488.5 MB, free: 21.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.087, allocations: 164.6 kB / 488.7 MB, free: 20.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.0875, allocations: 422.5 kB / 489.1 MB, free: 20.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.08785, allocations: 326.1 kB / 489.4 MB, free: 20.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.903e-05/0.08794, allocations: 36 kB / 489.4 MB, free: 20.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.08849, allocations: 379.4 kB / 489.8 MB, free: 19.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.08863, allocations: 139.4 kB / 489.9 MB, free: 19.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.08891, allocations: 371.9 kB / 490.3 MB, free: 19.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007655/0.08968, allocations: 1.067 MB / 491.4 MB, free: 18.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.08969, allocations: 3.984 kB / 491.4 MB, free: 18.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0897, allocations: 0 / 491.4 MB, free: 18.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.08972, allocations: 0 / 491.4 MB, free: 18.25 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001038/0.09076, allocations: 1.177 MB / 492.5 MB, free: 16.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.0908, allocations: 8.031 kB / 492.5 MB, free: 16.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000544/0.09135, allocations: 140 kB / 492.7 MB, free: 16.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.09195, allocations: 438.7 kB / 493.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.0921, allocations: 154.4 kB / 493.3 MB, free: 16.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.09226, allocations: 79.98 kB / 493.3 MB, free: 16.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.09433, allocations: 1.334 MB / 494.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.09437, allocations: 0 / 494.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.09446, allocations: 39.98 kB / 494.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-05/0.09454, allocations: 61.25 kB / 494.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.09583, allocations: 0.9457 MB / 495.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.09851, allocations: 2.932 MB / 498.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.09962, allocations: 1.205 MB / 499.9 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/0.1005, allocations: 1.069 MB / 0.4892 GB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.1006, allocations: 101.3 kB / 0.4893 GB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009175/0.1015, allocations: 0.7775 MB / 0.49 GB, free: 7.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=70): time 2.204e-06/0.1016, allocations: 0 / 0.49 GB, free: 7.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=70): time 0.003015/0.1046, allocations: 2.449 MB / 0.4924 GB, free: 4.863 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.1048, allocations: 0.5481 MB / 0.493 GB, free: 4.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.1051, allocations: 409.2 kB / 0.4934 GB, free: 3.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.1051, allocations: 57.7 kB / 0.4934 GB, free: 3.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1053, allocations: 292 kB / 0.4937 GB, free: 3.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1054, allocations: 185.7 kB / 0.4939 GB, free: 3.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1054, allocations: 23.94 kB / 0.4939 GB, free: 3.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.1055, allocations: 366.8 kB / 0.4942 GB, free: 2.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.1061, allocations: 478 kB / 0.4947 GB, free: 2.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/0.1069, allocations: 0.8057 MB / 0.4955 GB, free: 1.445 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.1085, allocations: 1.787 MB / 0.4972 GB, free: 15.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.1085, allocations: 0 / 0.4972 GB, free: 15.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002965/0.1115, allocations: 1.929 MB / 0.4991 GB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/0.1118, allocations: 378.6 kB / 0.4995 GB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.1118, allocations: 16 kB / 0.4995 GB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.112, allocations: 53.33 kB / 0.4995 GB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.1125, allocations: 123.7 kB / 0.4997 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006027/0.1131, allocations: 1.019 MB / 0.5007 GB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.1138, allocations: 146.9 kB / 0.5008 GB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.1139, allocations: 59.98 kB / 0.5009 GB, free: 11.46 MB / 346.7 MB Warning: Assuming fixed start value for the following 18 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 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 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.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,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition3,P1.disMarksInOut,P1.disMarksIn.anytrue,P1.disMarksIn.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.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],$whenCondition2,$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_,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],P1.delayPassedOut.vec[1]) * 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: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008766/0.1148, allocations: 0.7489 MB / 0.5016 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.115, allocations: 79.38 kB / 0.5017 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.1179, allocations: 1.953 MB / 0.5036 GB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.1179, allocations: 4 kB / 0.5036 GB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1179, allocations: 0 / 0.5036 GB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1179, allocations: 7.922 kB / 0.5036 GB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.1214, allocations: 2.668 MB / 0.5062 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.1214, allocations: 0 / 0.5062 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1216, allocations: 31.92 kB / 0.5062 GB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.1218, allocations: 76.8 kB / 0.5063 GB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/0.1219, allocations: 43.97 kB / 0.5063 GB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005175/0.1224, allocations: 1.007 MB / 0.5073 GB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1224, allocations: 0 / 0.5073 GB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.1267, allocations: 2.969 MB / 0.5102 GB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.1268, allocations: 124.4 kB / 0.5103 GB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.127, allocations: 75.97 kB / 0.5104 GB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.1275, allocations: 80 kB / 0.5105 GB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000459/0.1279, allocations: 255.8 kB / 0.5107 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.128, allocations: 47.97 kB / 0.5108 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002496/0.1283, allocations: 243.2 kB / 0.511 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1283, allocations: 0 / 0.511 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009381/0.1292, allocations: 339.5 kB / 0.5113 GB, free: 352 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 57 ($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,$cse3[1],$whenCondition3,$whenCondition2,P1.disMarksInOut,P1.fireOut[1],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.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.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.disMarkChange,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 (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000708/0.13, allocations: 378.2 kB / 0.5117 GB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.1327, allocations: 2.276 MB / 0.5139 GB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.1327, allocations: 4 kB / 0.5139 GB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.135, allocations: 2.526 MB / 0.5164 GB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.1356, allocations: 101.3 kB / 0.5165 GB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.1382, allocations: 1.718 MB / 0.5182 GB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.1387, allocations: 0.9416 MB / 0.5191 GB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.1391, allocations: 144.5 kB / 0.5192 GB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.1392, allocations: 51.41 kB / 0.5193 GB, free: 7.898 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1392, allocations: 0 / 0.5193 GB, free: 7.898 MB / 362.7 MB Notification: Performance of Templates: time 0.1631/0.3023, allocations: 12.68 MB / 0.5316 GB, free: 60.13 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTC.makefile (rm -f PNlib_PNlib.Examples.ConTest.PCtoTC.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.PCtoTC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.PCtoTC.pipe >> ../files/PNlib_PNlib.Examples.ConTest.PCtoTC.sim & ./PNlib_PNlib.Examples.ConTest.PCtoTC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.PCtoTC.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.PCtoTC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.PCtoTC.mat","../files/PNlib_PNlib.Examples.ConTest.PCtoTC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches