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.006279/0.00628, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001326/0.001325, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2224/0.2224, allocations: 16.76 MB / 307.3 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.34 kB / 425.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 53.47 MB / 479.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002967/0.1088, allocations: 1.86 MB / 481.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.1122, allocations: 1.917 MB / 483.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006564/0.1129, allocations: 9.031 kB / 483.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.1134, allocations: 108.9 kB / 483.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.1141, allocations: 116.8 kB / 483.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.1161, allocations: 0.9055 MB / 484.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.1178, allocations: 1.432 MB / 485.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1181, allocations: 149.2 kB / 485.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007756/0.1189, allocations: 0.5362 MB / 486.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006071/0.1195, allocations: 346.7 kB / 486.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.1198, allocations: 88.31 kB / 486.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007888/0.1206, allocations: 0.5082 MB / 487.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.1208, allocations: 147.4 kB / 487.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.1212, allocations: 390.3 kB / 487.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1223, allocations: 1.177 MB / 489 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1223, allocations: 4 kB / 489 MB, free: 3.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1224, allocations: 0 / 489 MB, free: 3.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.1224, allocations: 0 / 489 MB, free: 3.578 MB / 350.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.001563/0.1239, allocations: 1.283 MB / 490.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.124, allocations: 15.83 kB / 490.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.1241, allocations: 122.7 kB / 490.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.1244, allocations: 96.11 kB / 490.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.125, allocations: 434.6 kB / 490.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.125, allocations: 86.98 kB / 491 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.1251, allocations: 76 kB / 491.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1268, allocations: 1.319 MB / 492.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1268, allocations: 4 kB / 492.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.1269, allocations: 39.98 kB / 492.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.681e-05/0.127, allocations: 56.95 kB / 492.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.1285, allocations: 0.8976 MB / 493.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.1321, allocations: 3.317 MB / 496.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.1337, allocations: 1.459 MB / 498.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.135, allocations: 1.36 MB / 499.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.287e-05/0.1351, allocations: 85.11 kB / 499.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.1365, allocations: 0.8956 MB / 0.4888 GB, free: 7.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.615e-06/0.1365, allocations: 0 / 0.4888 GB, free: 7.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003734/0.1402, allocations: 2.538 MB / 0.4913 GB, free: 4.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003211/0.1405, allocations: 0.5559 MB / 0.4918 GB, free: 4.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.141, allocations: 421 kB / 0.4922 GB, free: 3.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/0.1411, allocations: 69.69 kB / 0.4923 GB, free: 3.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1413, allocations: 264.3 kB / 0.4925 GB, free: 3.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.1415, allocations: 197.7 kB / 0.4927 GB, free: 3.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003921/0.1419, allocations: 226.5 kB / 0.493 GB, free: 3.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.1422, allocations: 378.7 kB / 0.4933 GB, free: 2.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/0.143, allocations: 438 kB / 0.4937 GB, free: 2.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009921/0.144, allocations: 0.8138 MB / 0.4945 GB, free: 1.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.1469, allocations: 2.536 MB / 0.497 GB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-05/0.147, allocations: 4 kB / 0.497 GB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003075/0.1501, allocations: 1.838 MB / 0.4988 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.1503, allocations: 337 kB / 0.4991 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/0.1504, allocations: 12 kB / 0.4991 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.24e-05/0.1504, allocations: 16 kB / 0.4991 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.1509, allocations: 119.7 kB / 0.4993 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-05/0.1509, allocations: 28.45 kB / 0.4993 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.1516, allocations: 142.9 kB / 0.4994 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.1517, allocations: 52 kB / 0.4995 GB, free: 11.84 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.0009741/0.1527, allocations: 0.7559 MB / 0.5002 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.1529, allocations: 75.34 kB / 0.5003 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/0.1558, allocations: 1.952 MB / 0.5022 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.1559, allocations: 4 kB / 0.5022 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1559, allocations: 0 / 0.5022 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.1559, allocations: 3.938 kB / 0.5022 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.1601, allocations: 2.979 MB / 0.5051 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1601, allocations: 4 kB / 0.5051 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1602, allocations: 19.98 kB / 0.5051 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.1602, allocations: 4 kB / 0.5051 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.1603, allocations: 39.92 kB / 0.5052 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1603, allocations: 7.922 kB / 0.5052 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1604, allocations: 4 kB / 0.5052 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.1635, allocations: 2.319 MB / 0.5075 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1636, allocations: 124.4 kB / 0.5076 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.1638, allocations: 79.91 kB / 0.5076 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.1643, allocations: 79.92 kB / 0.5077 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/0.1648, allocations: 327.6 kB / 0.508 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.1649, allocations: 47.91 kB / 0.5081 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.1652, allocations: 255.2 kB / 0.5083 GB, free: 2.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1652, allocations: 0 / 0.5083 GB, free: 2.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001036/0.1662, allocations: 339.6 kB / 0.5086 GB, free: 2.141 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.004083/0.1703, allocations: 3.147 MB / 0.5117 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.1729, allocations: 2.065 MB / 0.5137 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1729, allocations: 4 kB / 0.5137 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00246/0.1754, allocations: 3.054 MB / 0.5167 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.176, allocations: 115.5 kB / 0.5168 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.1868, allocations: 7.855 MB / 0.5245 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.1873, allocations: 0.9153 MB / 0.5254 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003537/0.1876, allocations: 144.5 kB / 0.5255 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.1879, allocations: 191.4 kB / 0.5257 GB, free: 15.87 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1879, allocations: 0 / 0.5257 GB, free: 15.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.2293, allocations: 18.28 MB / 0.5436 GB, free: 13.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/8.723, allocations: 15.42 kB / 0.5436 GB, free: 13.6 MB / 430.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