Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.008479/0.008479, allocations: 99.02 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.002245/0.002245, allocations: 194.3 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2015/0.2015, allocations: 16.76 MB / 307.3 MB, free: 14.85 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.52 kB / 425.9 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08981, allocations: 53.47 MB / 479.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002406/0.09225, allocations: 1.854 MB / 481.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.095, allocations: 1.92 MB / 483.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.09526, allocations: 6.094 kB / 483.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.09556, allocations: 113 kB / 483.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.09589, allocations: 115.1 kB / 483.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.09737, allocations: 0.9059 MB / 484.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.09853, allocations: 1.423 MB / 485.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.09877, allocations: 170 kB / 485.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.09922, allocations: 0.5315 MB / 486.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.0996, allocations: 343.5 kB / 486.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.09975, allocations: 88.84 kB / 486.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000669/0.1004, allocations: 0.5148 MB / 487.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1006, allocations: 143.5 kB / 487.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.1009, allocations: 394.3 kB / 487.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1019, allocations: 1.18 MB / 489 MB, free: 3.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.102, allocations: 4 kB / 489 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.102, allocations: 4 kB / 489 MB, free: 3.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.102, allocations: 0 / 489 MB, free: 3.57 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.001312/0.1033, allocations: 1.291 MB / 490.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1033, allocations: 11.89 kB / 490.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.1035, allocations: 130.7 kB / 490.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.1038, allocations: 92.5 kB / 490.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.1042, allocations: 434.7 kB / 491 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.42e-05/0.1043, allocations: 82.98 kB / 491.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/0.1044, allocations: 79.98 kB / 491.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.1061, allocations: 1.334 MB / 492.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1061, allocations: 0 / 492.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1062, allocations: 35.98 kB / 492.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.1064, allocations: 56.95 kB / 492.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.1082, allocations: 0.9093 MB / 493.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006008/0.1142, allocations: 3.334 MB / 496.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.1172, allocations: 1.576 MB / 498.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.1189, allocations: 1.456 MB / 499.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.1191, allocations: 85.05 kB / 499.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.1207, allocations: 0.9194 MB / 0.4891 GB, free: 7.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.705e-06/0.1207, allocations: 0 / 0.4891 GB, free: 7.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004358/0.1251, allocations: 2.622 MB / 0.4917 GB, free: 4.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000397/0.1255, allocations: 0.5348 MB / 0.4922 GB, free: 3.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.1261, allocations: 421.3 kB / 0.4926 GB, free: 3.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.775e-05/0.1262, allocations: 65.69 kB / 0.4926 GB, free: 3.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.1264, allocations: 269 kB / 0.4929 GB, free: 3.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.1267, allocations: 206.4 kB / 0.4931 GB, free: 3.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.127, allocations: 226.6 kB / 0.4933 GB, free: 2.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1272, allocations: 378.7 kB / 0.4937 GB, free: 2.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008672/0.1281, allocations: 442 kB / 0.4941 GB, free: 1.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.1292, allocations: 0.8046 MB / 0.4949 GB, free: 1.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.1325, allocations: 2.543 MB / 0.4974 GB, free: 14.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.1325, allocations: 4 kB / 0.4974 GB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002811/0.1353, allocations: 1.825 MB / 0.4992 GB, free: 12.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.1356, allocations: 333 kB / 0.4995 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.1356, allocations: 12 kB / 0.4995 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.1356, allocations: 16 kB / 0.4995 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.1361, allocations: 124.3 kB / 0.4996 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/0.1361, allocations: 23.94 kB / 0.4996 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.1367, allocations: 143.1 kB / 0.4998 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.1368, allocations: 55.94 kB / 0.4998 GB, free: 11.5 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: 51 * 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.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.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.001045/0.1378, allocations: 0.761 MB / 0.5006 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.138, allocations: 79.67 kB / 0.5006 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.1412, allocations: 2.014 MB / 0.5026 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.1412, allocations: 4 kB / 0.5026 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1412, allocations: 7.938 kB / 0.5026 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.1413, allocations: 7.984 kB / 0.5026 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.1458, allocations: 3.038 MB / 0.5056 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1458, allocations: 0 / 0.5056 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.146, allocations: 31.92 kB / 0.5056 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.146, allocations: 4 kB / 0.5056 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-05/0.1461, allocations: 39.97 kB / 0.5057 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1461, allocations: 3.938 kB / 0.5057 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1461, allocations: 4 kB / 0.5057 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003585/0.1497, allocations: 2.379 MB / 0.508 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1499, allocations: 132.6 kB / 0.5081 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.1501, allocations: 75.98 kB / 0.5082 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.1506, allocations: 87.86 kB / 0.5083 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000557/0.1511, allocations: 327.7 kB / 0.5086 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.1513, allocations: 47.91 kB / 0.5086 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.1515, allocations: 243.2 kB / 0.5089 GB, free: 1.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1515, allocations: 3.938 kB / 0.5089 GB, free: 1.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00105/0.1526, allocations: 339.6 kB / 0.5092 GB, free: 1.602 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.00457/0.1572, allocations: 3.212 MB / 0.5123 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.1601, allocations: 2.097 MB / 0.5144 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.1601, allocations: 4 kB / 0.5144 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00304/0.1631, allocations: 3.152 MB / 0.5175 GB, free: 8.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.1638, allocations: 105.2 kB / 0.5176 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.1753, allocations: 7.973 MB / 0.5254 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.176, allocations: 0.9231 MB / 0.5263 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.1764, allocations: 153.1 kB / 0.5264 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.1766, allocations: 183.4 kB / 0.5266 GB, free: 15.03 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1767, allocations: 4 kB / 0.5266 GB, free: 15.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.2252, allocations: 17.9 MB / 0.5441 GB, free: 13.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.82/9.045, allocations: 6.75 kB / 0.5441 GB, free: 13.14 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches