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.005781/0.005781, allocations: 101 kB / 15.73 MB, free: 6.059 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.001294/0.001295, allocations: 194.5 kB / 16.68 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.427/1.427, 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.08683/0.08683, allocations: 16.72 MB / 307.3 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.88 kB / 425.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1118, allocations: 53.48 MB / 479.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003337/0.1152, allocations: 1.847 MB / 481.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.119, allocations: 1.917 MB / 483.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.1195, allocations: 7.938 kB / 483.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.1199, allocations: 111.1 kB / 483.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.1204, allocations: 119 kB / 483.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.1225, allocations: 0.9008 MB / 484.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.1241, allocations: 1.431 MB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.1244, allocations: 160.5 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.125, allocations: 0.5298 MB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.1255, allocations: 346.3 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.1257, allocations: 88 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007716/0.1264, allocations: 0.5149 MB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.1267, allocations: 139.5 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.1271, allocations: 386.4 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.1286, allocations: 1.184 MB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1286, allocations: 4 kB / 489 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1286, allocations: 0 / 489 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.1286, allocations: 3.938 kB / 489 MB, free: 11.74 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.001927/0.1306, allocations: 1.293 MB / 490.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1306, allocations: 11.89 kB / 490.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.1308, allocations: 122.7 kB / 490.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.1311, allocations: 96.5 kB / 490.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.1317, allocations: 438.7 kB / 490.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.1319, allocations: 87 kB / 491 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.132, allocations: 79.97 kB / 491.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.1341, allocations: 1.318 MB / 492.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1341, allocations: 0 / 492.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.1342, allocations: 43.97 kB / 492.5 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.1344, allocations: 60.89 kB / 492.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.1359, allocations: 0.8976 MB / 493.4 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004394/0.1403, allocations: 3.314 MB / 496.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.1422, allocations: 1.458 MB / 498.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.1437, allocations: 1.365 MB / 499.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1439, allocations: 81.11 kB / 499.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.1454, allocations: 0.8956 MB / 0.4888 GB, free: 15.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.204e-06/0.1454, allocations: 0 / 0.4888 GB, free: 15.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.004027/0.1494, allocations: 2.543 MB / 0.4913 GB, free: 13.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003908/0.1498, allocations: 0.5561 MB / 0.4918 GB, free: 12.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.1504, allocations: 425.2 kB / 0.4922 GB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/0.1505, allocations: 73.67 kB / 0.4923 GB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.1507, allocations: 269 kB / 0.4925 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.1509, allocations: 202.5 kB / 0.4927 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.1512, allocations: 226.6 kB / 0.493 GB, free: 11.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1514, allocations: 378.7 kB / 0.4933 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.1521, allocations: 446 kB / 0.4937 GB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.1532, allocations: 0.8138 MB / 0.4945 GB, free: 9.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.1563, allocations: 2.54 MB / 0.497 GB, free: 6.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.1564, allocations: 4 kB / 0.497 GB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002674/0.159, allocations: 1.834 MB / 0.4988 GB, free: 4.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.1593, allocations: 337 kB / 0.4991 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.1593, allocations: 15.94 kB / 0.4992 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.1594, allocations: 16 kB / 0.4992 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.1597, allocations: 123.7 kB / 0.4993 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.234e-05/0.1598, allocations: 32.42 kB / 0.4993 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.1603, allocations: 143.2 kB / 0.4995 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-05/0.1604, allocations: 55.98 kB / 0.4995 GB, free: 3.938 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.0009399/0.1614, allocations: 0.7492 MB / 0.5002 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.1616, allocations: 75.67 kB / 0.5003 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.1646, allocations: 1.952 MB / 0.5022 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.1647, allocations: 4 kB / 0.5022 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1647, allocations: 3.984 kB / 0.5022 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.1647, allocations: 11.88 kB / 0.5022 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2177/0.3824, allocations: 2.968 MB / 0.5051 GB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.3825, allocations: 0 / 0.5051 GB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.3827, allocations: 29.3 kB / 0.5052 GB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.3827, allocations: 2.078 kB / 0.5052 GB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.3828, allocations: 42.23 kB / 0.5052 GB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.3829, allocations: 2.281 kB / 0.5052 GB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3829, allocations: 2.156 kB / 0.5052 GB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/0.3872, allocations: 2.321 MB / 0.5075 GB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3874, allocations: 132.1 kB / 0.5076 GB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.3876, allocations: 80.69 kB / 0.5077 GB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.3881, allocations: 75.75 kB / 0.5077 GB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005275/0.3886, allocations: 328.8 kB / 0.5081 GB, free: 33.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.3887, allocations: 46.77 kB / 0.5081 GB, free: 33.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.389, allocations: 254.9 kB / 0.5084 GB, free: 33.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.389, allocations: 0 / 0.5084 GB, free: 33.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001313/0.3903, allocations: 345.3 kB / 0.5087 GB, free: 33.42 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.003978/0.3943, allocations: 3.128 MB / 0.5117 GB, free: 31.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.3971, allocations: 2.071 MB / 0.5138 GB, free: 30.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3971, allocations: 0 / 0.5138 GB, free: 30.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.3991, allocations: 3.057 MB / 0.5167 GB, free: 28.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.3998, allocations: 127.3 kB / 0.5169 GB, free: 28.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009583/0.4094, allocations: 7.883 MB / 0.5246 GB, free: 23.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4098, allocations: 0.9162 MB / 0.5255 GB, free: 23.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.4102, allocations: 138.2 kB / 0.5256 GB, free: 23.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.4104, allocations: 187.2 kB / 0.5258 GB, free: 23.02 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4104, allocations: 0 / 0.5258 GB, free: 23.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.4498, allocations: 17.85 MB / 0.5432 GB, free: 8.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.739/9.189, allocations: 7.938 kB / 0.5432 GB, free: 8.551 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) Reference file matches