Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001446, allocations: 117.5 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001574, allocations: 189.7 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07632/0.07632, allocations: 16.73 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.61 kB / 373 MB, free: 48.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09448, allocations: 53.48 MB / 426.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002741/0.09726, allocations: 1.856 MB / 428.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1002, allocations: 1.909 MB / 430.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.1005, allocations: 11.88 kB / 430.3 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1008, allocations: 111.1 kB / 430.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.1012, allocations: 111.1 kB / 430.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.1026, allocations: 0.9005 MB / 431.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009167/0.1035, allocations: 1.42 MB / 432.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1037, allocations: 147.7 kB / 433 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.1041, allocations: 0.5182 MB / 433.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.1044, allocations: 318.4 kB / 433.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.1045, allocations: 72 kB / 433.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.105, allocations: 0.4916 MB / 434.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1052, allocations: 131.4 kB / 434.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.1054, allocations: 338.5 kB / 434.8 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007218/0.1061, allocations: 1.029 MB / 435.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1062, allocations: 4 kB / 435.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1062, allocations: 0 / 435.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1062, allocations: 0 / 435.9 MB, free: 2.391 MB / 302.1 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.001307/0.1075, allocations: 1.208 MB / 437.1 MB, free: 1.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1075, allocations: 11.89 kB / 437.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.1078, allocations: 84.19 kB / 437.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.1084, allocations: 407 kB / 437.6 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.174e-05/0.1085, allocations: 82.69 kB / 437.6 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.1086, allocations: 71.92 kB / 437.7 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.1102, allocations: 1.098 MB / 438.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1103, allocations: 3.984 kB / 438.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.1103, allocations: 31.98 kB / 438.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.007e-05/0.1104, allocations: 52.95 kB / 438.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.1116, allocations: 0.7337 MB / 439.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.1149, allocations: 2.998 MB / 442.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.1164, allocations: 1.38 MB / 444 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.1176, allocations: 1.248 MB / 445.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.1177, allocations: 85.11 kB / 445.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.1188, allocations: 0.7746 MB / 446.1 MB, free: 7.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=75): time 1.924e-06/0.1189, allocations: 4 kB / 446.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=75): time 0.003207/0.1221, allocations: 2.205 MB / 448.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003118/0.1224, allocations: 0.5152 MB / 448.8 MB, free: 4.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.1228, allocations: 372 kB / 449.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/0.1229, allocations: 65.64 kB / 449.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.123, allocations: 232.8 kB / 449.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.1232, allocations: 185.7 kB / 449.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.1235, allocations: 198.6 kB / 449.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1236, allocations: 374.7 kB / 450.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.1241, allocations: 310.1 kB / 450.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.1248, allocations: 0.6323 MB / 451.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.1272, allocations: 2.043 MB / 453.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.1272, allocations: 0 / 453.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001941/0.1291, allocations: 1.463 MB / 454.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.1293, allocations: 319.5 kB / 455 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.1293, allocations: 8 kB / 455 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.1294, allocations: 16.75 kB / 455 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.1297, allocations: 111.7 kB / 455.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.1297, allocations: 27.88 kB / 455.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.1301, allocations: 99.11 kB / 455.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.1302, allocations: 48 kB / 455.3 MB, free: 13.75 MB / 334.1 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.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.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,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$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,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,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.0007292/0.1309, allocations: 0.7076 MB / 456 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1311, allocations: 67.44 kB / 456.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.1335, allocations: 1.669 MB / 457.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1335, allocations: 4 kB / 457.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1335, allocations: 3.938 kB / 457.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1335, allocations: 7.922 kB / 457.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.137, allocations: 2.588 MB / 460.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1371, allocations: 0 / 460.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.1372, allocations: 31.92 kB / 460.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.1372, allocations: 3.938 kB / 460.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.599e-05/0.1373, allocations: 35.98 kB / 460.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.1373, allocations: 4 kB / 460.4 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1373, allocations: 0 / 460.4 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.1402, allocations: 2.067 MB / 462.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1403, allocations: 124.4 kB / 462.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.1405, allocations: 71.97 kB / 462.7 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.1408, allocations: 47.97 kB / 462.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.141, allocations: 91.78 kB / 462.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/0.1411, allocations: 51.97 kB / 462.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.1414, allocations: 223 kB / 463.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1414, allocations: 0 / 463.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009638/0.1423, allocations: 303.7 kB / 463.4 MB, free: 5.379 MB / 334.1 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.0007129/0.1431, allocations: 382.8 kB / 463.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.1453, allocations: 1.73 MB / 465.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1453, allocations: 0 / 465.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.1475, allocations: 2.797 MB / 468.3 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.1481, allocations: 98.42 kB / 468.4 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.1507, allocations: 1.511 MB / 469.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.1512, allocations: 0.8957 MB / 470.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00031/0.1515, allocations: 133 kB / 470.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.1516, allocations: 47.42 kB / 471 MB, free: 13.53 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1516, allocations: 0 / 471 MB, free: 13.53 MB / 350.1 MB Notification: Performance of Templates: time 0.0173/0.1689, allocations: 11.03 MB / 482 MB, free: 2.449 MB / 350.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches