Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008834/0.0008835, allocations: 181.5 kB / 15.43 MB, free: 5.762 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.267/1.267, allocations: 225.7 MB / 241.9 MB, free: 396 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.0007518/0.0007517, allocations: 92.23 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.07314/0.07314, allocations: 17.12 MB / 361.3 MB, free: 8.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003193, allocations: 8.75 kB / 426.6 MB, free: 83.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08366/0.084, allocations: 54.53 MB / 481.1 MB, free: 29.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.001518/0.08555, allocations: 1.529 MB / 482.6 MB, free: 27.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.08865, allocations: 4.153 MB / 486.8 MB, free: 22.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.08883, allocations: 3.938 kB / 486.8 MB, free: 22.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.08909, allocations: 83.44 kB / 486.9 MB, free: 22.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.08937, allocations: 87.42 kB / 486.9 MB, free: 22.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.09056, allocations: 0.7411 MB / 487.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.09122, allocations: 1.107 MB / 488.8 MB, free: 20.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.09142, allocations: 136.3 kB / 488.9 MB, free: 20.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.09176, allocations: 418.5 kB / 489.3 MB, free: 20.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.09204, allocations: 278.4 kB / 489.6 MB, free: 20.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.09211, allocations: 28 kB / 489.6 MB, free: 20.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.09259, allocations: 411.5 kB / 490 MB, free: 19.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.09272, allocations: 119.5 kB / 490.1 MB, free: 19.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.09299, allocations: 308.2 kB / 490.4 MB, free: 19.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.09371, allocations: 0.9466 MB / 491.4 MB, free: 18.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.09372, allocations: 0 / 491.4 MB, free: 18.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.09373, allocations: 0 / 491.4 MB, free: 18.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.09375, allocations: 3.938 kB / 491.4 MB, free: 18.23 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.0009675/0.09472, allocations: 1.072 MB / 492.5 MB, free: 17.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.09476, allocations: 8.031 kB / 492.5 MB, free: 17.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.09499, allocations: 88.17 kB / 492.6 MB, free: 16.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.09541, allocations: 406.4 kB / 493 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.09549, allocations: 74.69 kB / 493 MB, free: 16.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.09558, allocations: 67.98 kB / 493.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.09688, allocations: 1.101 MB / 494.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.09691, allocations: 0 / 494.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/0.09699, allocations: 35.97 kB / 494.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.09706, allocations: 44.97 kB / 494.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.09808, allocations: 0.7337 MB / 495 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.1007, allocations: 3.009 MB / 498 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.1019, allocations: 1.384 MB / 499.4 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008845/0.1028, allocations: 1.248 MB / 0.4889 GB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.555e-05/0.1028, allocations: 81.11 kB / 0.489 GB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009451/0.1038, allocations: 0.7824 MB / 0.4898 GB, free: 7.668 MB / 330.7 MB Notification: Performance of pre-optimization done (n=75): time 2.404e-06/0.1038, allocations: 0 / 0.4898 GB, free: 7.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.002756/0.1065, allocations: 2.208 MB / 0.4919 GB, free: 5.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/0.1067, allocations: 0.5074 MB / 0.4924 GB, free: 4.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1071, allocations: 379.9 kB / 0.4928 GB, free: 4.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.1071, allocations: 61.69 kB / 0.4928 GB, free: 4.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1072, allocations: 232.8 kB / 0.4931 GB, free: 4.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.1073, allocations: 181.8 kB / 0.4932 GB, free: 3.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1074, allocations: 23.94 kB / 0.4933 GB, free: 3.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.1075, allocations: 374.7 kB / 0.4936 GB, free: 3.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.1079, allocations: 302.1 kB / 0.4939 GB, free: 3.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.1084, allocations: 0.6362 MB / 0.4945 GB, free: 2.473 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.1102, allocations: 2.027 MB / 0.4965 GB, free: 144 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.1102, allocations: 4 kB / 0.4965 GB, free: 140 kB / 330.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001819/0.112, allocations: 1.439 MB / 0.4979 GB, free: 14.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.1122, allocations: 321 kB / 0.4982 GB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.1122, allocations: 8.844 kB / 0.4982 GB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.1122, allocations: 19.94 kB / 0.4982 GB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.1126, allocations: 115.7 kB / 0.4984 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/0.1126, allocations: 23.92 kB / 0.4984 GB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.113, allocations: 114.9 kB / 0.4985 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.1131, allocations: 51.94 kB / 0.4985 GB, free: 13.93 MB / 346.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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 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: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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,$whenCondition7,$PRE.P1.reStart,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition6,$whenCondition5,P1.tokeninout,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.firingCon,P1.reStart,P1.enableIn.disTransition[1],$PRE.P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.T1.firingTime,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableIn.arcWeightSum,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.active,T1.activation.disPlaceOut[1],T1.enabledByInPlaces,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * 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.0007587/0.1139, allocations: 0.6947 MB / 0.4992 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.114, allocations: 71.42 kB / 0.4993 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.1163, allocations: 1.665 MB / 0.5009 GB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1164, allocations: 4 kB / 0.5009 GB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1164, allocations: 4 kB / 0.5009 GB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1164, allocations: 7.969 kB / 0.5009 GB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.1197, allocations: 2.596 MB / 0.5035 GB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1198, allocations: 4 kB / 0.5035 GB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1199, allocations: 27.92 kB / 0.5035 GB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1199, allocations: 4 kB / 0.5035 GB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.601e-05/0.12, allocations: 43.92 kB / 0.5035 GB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.12, allocations: 0 / 0.5035 GB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.12, allocations: 4 kB / 0.5035 GB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.1226, allocations: 2.062 MB / 0.5056 GB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.1228, allocations: 132.3 kB / 0.5057 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.1229, allocations: 71.97 kB / 0.5057 GB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.1233, allocations: 55.91 kB / 0.5058 GB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.1235, allocations: 79.91 kB / 0.5059 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.712e-05/0.1236, allocations: 43.97 kB / 0.5059 GB, free: 6.082 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.1238, allocations: 223 kB / 0.5061 GB, free: 5.867 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1238, allocations: 0 / 0.5061 GB, free: 5.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008929/0.1247, allocations: 299.8 kB / 0.5064 GB, free: 5.574 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.0008195/0.1255, allocations: 393 kB / 0.5068 GB, free: 5.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.1276, allocations: 1.722 MB / 0.5085 GB, free: 3.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1276, allocations: 4.062 kB / 0.5085 GB, free: 3.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00214/0.1298, allocations: 2.801 MB / 0.5112 GB, free: 460 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.1303, allocations: 104.4 kB / 0.5113 GB, free: 360 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.1328, allocations: 1.662 MB / 0.5129 GB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.1332, allocations: 0.8996 MB / 0.5138 GB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.1335, allocations: 124.4 kB / 0.5139 GB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.1336, allocations: 39.42 kB / 0.514 GB, free: 13.57 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1336, allocations: 0 / 0.514 GB, free: 13.57 MB / 362.7 MB Notification: Performance of Templates: time 0.01512/0.1487, allocations: 10.42 MB / 0.5241 GB, free: 3.074 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches