Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005883/0.005883, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.001222/0.001222, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08907/0.08907, allocations: 16.74 MB / 307.3 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 71.89 kB / 425.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.1008, allocations: 53.47 MB / 479.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003076/0.1039, allocations: 1.851 MB / 481.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1074, allocations: 1.917 MB / 483.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.1078, allocations: 11.94 kB / 483.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.1082, allocations: 111 kB / 483.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.1086, allocations: 119 kB / 483.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.1106, allocations: 0.9046 MB / 484.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.1123, allocations: 1.424 MB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.1126, allocations: 161.1 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.1135, allocations: 0.5338 MB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006242/0.1141, allocations: 354.3 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.1143, allocations: 88 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.1151, allocations: 0.5111 MB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.1153, allocations: 135.5 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005037/0.1158, allocations: 398.2 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.1173, allocations: 1.177 MB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1174, allocations: 7.938 kB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1174, allocations: 0 / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.1174, allocations: 0 / 489 MB, free: 11.77 MB / 366.1 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.001908/0.1193, allocations: 1.283 MB / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1194, allocations: 11.89 kB / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.1195, allocations: 122.7 kB / 490.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.1199, allocations: 92.17 kB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.1205, allocations: 434.6 kB / 490.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.1206, allocations: 79 kB / 491 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.1207, allocations: 83.97 kB / 491.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.1228, allocations: 1.314 MB / 492.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.1228, allocations: 7.938 kB / 492.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.1229, allocations: 35.97 kB / 492.4 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.123, allocations: 56.95 kB / 492.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.1245, allocations: 0.9015 MB / 493.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.1283, allocations: 3.317 MB / 496.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.1299, allocations: 1.455 MB / 498.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.1313, allocations: 1.365 MB / 499.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.1314, allocations: 85.11 kB / 499.6 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.1327, allocations: 0.884 MB / 0.4888 GB, free: 15.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 3.297e-06/0.1327, allocations: 0 / 0.4888 GB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003795/0.1365, allocations: 2.543 MB / 0.4912 GB, free: 13.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003367/0.1369, allocations: 0.5598 MB / 0.4918 GB, free: 12.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.1373, allocations: 421.1 kB / 0.4922 GB, free: 12.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-05/0.1374, allocations: 73.67 kB / 0.4923 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1377, allocations: 260.2 kB / 0.4925 GB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.1379, allocations: 189.8 kB / 0.4927 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.1382, allocations: 226.5 kB / 0.4929 GB, free: 11.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1383, allocations: 382.7 kB / 0.4933 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.139, allocations: 442 kB / 0.4937 GB, free: 10.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/0.1399, allocations: 0.806 MB / 0.4945 GB, free: 9.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.1429, allocations: 2.548 MB / 0.497 GB, free: 6.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.143, allocations: 8 kB / 0.497 GB, free: 6.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00282/0.1458, allocations: 1.83 MB / 0.4988 GB, free: 4.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.146, allocations: 337 kB / 0.4991 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.1461, allocations: 12 kB / 0.4991 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.472e-05/0.1461, allocations: 16 kB / 0.4991 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.1466, allocations: 123.7 kB / 0.4992 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.278e-05/0.1466, allocations: 27.86 kB / 0.4993 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.1472, allocations: 130.9 kB / 0.4994 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.1473, allocations: 63.98 kB / 0.4994 GB, free: 4.031 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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 ) "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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real 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 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$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,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * Array equations: 1 * 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.001084/0.1484, allocations: 0.755 MB / 0.5002 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.1486, allocations: 79.34 kB / 0.5003 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.1515, allocations: 1.952 MB / 0.5022 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.1516, allocations: 7.984 kB / 0.5022 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1516, allocations: 0 / 0.5022 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1516, allocations: 3.938 kB / 0.5022 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2368/0.3884, allocations: 2.968 MB / 0.5051 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.3885, allocations: 0.6562 kB / 0.5051 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.3886, allocations: 26.66 kB / 0.5051 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.3886, allocations: 2.219 kB / 0.5051 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.3888, allocations: 46.16 kB / 0.5051 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3888, allocations: 3.031 kB / 0.5051 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3888, allocations: 0 / 0.5051 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.3919, allocations: 2.318 MB / 0.5074 GB, free: 33.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.392, allocations: 133.8 kB / 0.5075 GB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.3922, allocations: 79.31 kB / 0.5076 GB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.3926, allocations: 76.03 kB / 0.5077 GB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/0.3932, allocations: 332.5 kB / 0.508 GB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.3933, allocations: 47.8 kB / 0.508 GB, free: 33.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.3935, allocations: 248.2 kB / 0.5083 GB, free: 33.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3935, allocations: 1.094 kB / 0.5083 GB, free: 33.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001063/0.3946, allocations: 336.5 kB / 0.5086 GB, free: 33.44 MB / 382.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: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,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,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 1 * 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.003637/0.3983, allocations: 3.138 MB / 0.5117 GB, free: 31.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002655/0.4009, allocations: 2.067 MB / 0.5137 GB, free: 30.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4009, allocations: 3.531 kB / 0.5137 GB, free: 30.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.4033, allocations: 3.06 MB / 0.5167 GB, free: 28.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.404, allocations: 111.8 kB / 0.5168 GB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.4148, allocations: 7.854 MB / 0.5245 GB, free: 23.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.4153, allocations: 0.9193 MB / 0.5254 GB, free: 23.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004868/0.4158, allocations: 146.7 kB / 0.5255 GB, free: 23.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.4161, allocations: 192.7 kB / 0.5257 GB, free: 23.03 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4161, allocations: 0 / 0.5257 GB, free: 23.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.451, allocations: 18.28 MB / 0.5435 GB, free: 8.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.583/9.034, allocations: 3.938 kB / 0.5435 GB, free: 8.238 MB / 382.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneOut[1],P1.enablingPrioOut[1],P1.enablingProbOut[1],P1.enablingType,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,T1.active,T1.arcWeightIn[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time