Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") translateModel(PNlib.Examples.ConTest.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009952/0.0009951, allocations: 183.1 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.281/1.281, allocations: 225.7 MB / 241.9 MB, free: 408 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.000758/0.000758, allocations: 98.75 kB / 293.1 MB, free: 12.9 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.07213/0.07213, allocations: 17.11 MB / 361.3 MB, free: 8.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.000275, allocations: 8 kB / 426.5 MB, free: 83.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0773/0.07759, allocations: 54.53 MB / 481.1 MB, free: 29.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.001772/0.07941, allocations: 1.639 MB / 482.7 MB, free: 27.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.08226, allocations: 3.822 MB / 486.5 MB, free: 23.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.08247, allocations: 7.938 kB / 486.6 MB, free: 23.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.08272, allocations: 103.3 kB / 486.7 MB, free: 22.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.08304, allocations: 91.42 kB / 486.7 MB, free: 22.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.08398, allocations: 0.5968 MB / 487.3 MB, free: 22.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006413/0.08463, allocations: 1.127 MB / 488.5 MB, free: 21.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.08481, allocations: 140.3 kB / 488.6 MB, free: 21.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.08509, allocations: 426.5 kB / 489 MB, free: 20.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.08537, allocations: 298.3 kB / 489.3 MB, free: 20.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.08545, allocations: 28 kB / 489.3 MB, free: 20.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.08589, allocations: 379.4 kB / 489.7 MB, free: 19.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.08603, allocations: 127.5 kB / 489.8 MB, free: 19.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.08625, allocations: 328 kB / 490.2 MB, free: 19.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007015/0.08696, allocations: 0.9738 MB / 491.1 MB, free: 18.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.08697, allocations: 4 kB / 491.1 MB, free: 18.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08698, allocations: 0 / 491.1 MB, free: 18.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.08699, allocations: 0 / 491.1 MB, free: 18.49 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.0009784/0.08798, allocations: 1.123 MB / 492.3 MB, free: 17.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.08802, allocations: 8.031 kB / 492.3 MB, free: 17.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.08854, allocations: 136.1 kB / 492.4 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.08896, allocations: 418.9 kB / 492.8 MB, free: 16.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-05/0.08906, allocations: 138.4 kB / 492.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/0.08917, allocations: 68 kB / 493 MB, free: 16.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.09054, allocations: 1.126 MB / 494.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.09057, allocations: 4 kB / 494.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.09064, allocations: 35.98 kB / 494.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/0.09072, allocations: 52.95 kB / 494.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.09182, allocations: 0.7809 MB / 495 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.09435, allocations: 2.816 MB / 497.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.09538, allocations: 1.095 MB / 498.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/0.09623, allocations: 0.9828 MB / 499.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.09629, allocations: 12 kB / 499.9 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007622/0.09706, allocations: 0.6885 MB / 0.4889 GB, free: 8.617 MB / 330.7 MB Notification: Performance of pre-optimization done (n=68): time 1.873e-06/0.09707, allocations: 3.938 kB / 0.4889 GB, free: 8.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.002701/0.09978, allocations: 2.144 MB / 0.491 GB, free: 6.383 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.09994, allocations: 0.5359 MB / 0.4915 GB, free: 5.742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.1002, allocations: 364.1 kB / 0.4918 GB, free: 5.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.1003, allocations: 61.69 kB / 0.4919 GB, free: 5.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1004, allocations: 260.3 kB / 0.4921 GB, free: 5.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1005, allocations: 177.8 kB / 0.4923 GB, free: 4.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.1005, allocations: 20 kB / 0.4923 GB, free: 4.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.1006, allocations: 370.7 kB / 0.4927 GB, free: 4.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.101, allocations: 329.8 kB / 0.493 GB, free: 4.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.1016, allocations: 0.6382 MB / 0.4936 GB, free: 3.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.1028, allocations: 1.603 MB / 0.4952 GB, free: 1.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1029, allocations: 8 kB / 0.4952 GB, free: 1.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001661/0.1045, allocations: 1.562 MB / 0.4967 GB, free: 15.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.1047, allocations: 354.7 kB / 0.4971 GB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001037/0.1058, allocations: 0.7351 MB / 0.4978 GB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.106, allocations: 60.83 kB / 0.4978 GB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.1063, allocations: 111.8 kB / 0.4979 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005951/0.1069, allocations: 1.034 MB / 0.4989 GB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.1073, allocations: 111 kB / 0.4991 GB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.1074, allocations: 48 kB / 0.4991 GB, free: 13.27 MB / 346.7 MB Warning: Assuming fixed start value for the following 18 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 101 ($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.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition3,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksOut.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,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],$whenCondition2,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,$PRE.P1.fireIn[1],P1.fireIn[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],P1.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 93 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007739/0.1082, allocations: 0.7209 MB / 0.4998 GB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.1084, allocations: 67.44 kB / 0.4999 GB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.1109, allocations: 1.714 MB / 0.5015 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1109, allocations: 4 kB / 0.5015 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1109, allocations: 0 / 0.5015 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1109, allocations: 7.938 kB / 0.5016 GB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.1142, allocations: 2.55 MB / 0.504 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002159/0.1164, allocations: 1.593 MB / 0.5056 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1166, allocations: 27.98 kB / 0.5056 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/0.1168, allocations: 88.78 kB / 0.5057 GB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.1169, allocations: 39.92 kB / 0.5057 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004697/0.1174, allocations: 1.019 MB / 0.5067 GB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1174, allocations: 3.938 kB / 0.5067 GB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/0.1209, allocations: 2.619 MB / 0.5093 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.1211, allocations: 128.4 kB / 0.5094 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.1212, allocations: 63.98 kB / 0.5095 GB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.1216, allocations: 51.97 kB / 0.5095 GB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.1218, allocations: 75.86 kB / 0.5096 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/0.1218, allocations: 35.98 kB / 0.5096 GB, free: 2.027 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002137/0.1221, allocations: 223.1 kB / 0.5099 GB, free: 1.812 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1221, allocations: 0 / 0.5099 GB, free: 1.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008987/0.123, allocations: 303.5 kB / 0.5101 GB, free: 1.516 MB / 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: 54 ($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.disMarksInOut,$whenCondition3,$whenCondition2,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[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.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue) * Number of discrete states: 50 (P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006604/0.1237, allocations: 388.7 kB / 0.5105 GB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.126, allocations: 1.889 MB / 0.5124 GB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.126, allocations: 0 / 0.5124 GB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.128, allocations: 2.385 MB / 0.5147 GB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.1285, allocations: 85.02 kB / 0.5148 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.1309, allocations: 1.584 MB / 0.5163 GB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.1314, allocations: 0.9263 MB / 0.5172 GB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000305/0.1317, allocations: 128.3 kB / 0.5173 GB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.1318, allocations: 51.36 kB / 0.5174 GB, free: 9.773 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1318, allocations: 4 kB / 0.5174 GB, free: 9.77 MB / 362.7 MB Notification: Performance of Templates: time 0.1655/0.2973, allocations: 10.6 MB / 0.5277 GB, free: 60.84 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.makefile (rm -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction.sim & ./PNlib_PNlib.Examples.ConTest.TCtoPCfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.mat","../files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches