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.007538/0.007538, allocations: 102.3 kB / 15.73 MB, free: 6.004 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.001787/0.001787, allocations: 192.5 kB / 16.67 MB, free: 5.934 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07634/0.07634, allocations: 16.72 MB / 307.3 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.89 kB / 425.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1203, allocations: 53.47 MB / 479.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.004372/0.1247, allocations: 1.855 MB / 481.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004877/0.1296, allocations: 1.921 MB / 483.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.1299, allocations: 4 kB / 483.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.1304, allocations: 111 kB / 483.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.1309, allocations: 119.1 kB / 483.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.1338, allocations: 0.8955 MB / 484.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.1359, allocations: 1.431 MB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.1362, allocations: 157.1 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.1367, allocations: 0.5376 MB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.1372, allocations: 350.4 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1374, allocations: 88 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007455/0.1382, allocations: 0.5071 MB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.1384, allocations: 139.5 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.1389, allocations: 398.3 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.1402, allocations: 1.169 MB / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1402, allocations: 0 / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.692e-06/0.1403, allocations: 4 kB / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.1403, allocations: 3.938 kB / 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.001899/0.1422, allocations: 1.283 MB / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1422, allocations: 11.89 kB / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.1424, allocations: 130.7 kB / 490.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.1427, allocations: 88.17 kB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.1434, allocations: 438.5 kB / 490.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.1435, allocations: 75.02 kB / 491 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1436, allocations: 83.92 kB / 491.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.1456, allocations: 1.33 MB / 492.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1456, allocations: 0 / 492.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.1457, allocations: 35.98 kB / 492.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.1458, allocations: 56.95 kB / 492.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.1474, allocations: 0.9171 MB / 493.4 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.1513, allocations: 3.325 MB / 496.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.1531, allocations: 1.582 MB / 498.3 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.1545, allocations: 1.455 MB / 499.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.998e-05/0.1546, allocations: 81.11 kB / 499.8 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.156, allocations: 0.9155 MB / 0.489 GB, free: 15.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.755e-06/0.156, allocations: 4 kB / 0.489 GB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.003916/0.1599, allocations: 2.621 MB / 0.4916 GB, free: 12.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000307/0.1602, allocations: 0.5349 MB / 0.4921 GB, free: 12.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.1607, allocations: 409.1 kB / 0.4925 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/0.1608, allocations: 65.69 kB / 0.4926 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.1609, allocations: 260.4 kB / 0.4928 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.1611, allocations: 197.6 kB / 0.493 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.1614, allocations: 226.5 kB / 0.4932 GB, free: 11.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1616, allocations: 382.7 kB / 0.4936 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006717/0.1623, allocations: 442 kB / 0.494 GB, free: 10.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/0.1632, allocations: 0.8007 MB / 0.4948 GB, free: 9.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.166, allocations: 2.547 MB / 0.4973 GB, free: 6.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.1661, allocations: 8 kB / 0.4973 GB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002495/0.1686, allocations: 1.821 MB / 0.4991 GB, free: 4.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.1688, allocations: 337.2 kB / 0.4994 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.1688, allocations: 12 kB / 0.4994 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.1688, allocations: 16 kB / 0.4994 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.1692, allocations: 123.7 kB / 0.4995 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.73e-05/0.1693, allocations: 27.92 kB / 0.4995 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.1698, allocations: 130.9 kB / 0.4997 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.043e-05/0.1699, allocations: 55.94 kB / 0.4997 GB, free: 3.754 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.0008465/0.1707, allocations: 0.7616 MB / 0.5005 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.1709, allocations: 83.33 kB / 0.5005 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.1738, allocations: 2.014 MB / 0.5025 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.1738, allocations: 4 kB / 0.5025 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.1738, allocations: 11.92 kB / 0.5025 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1738, allocations: 0 / 0.5025 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1879/0.3617, allocations: 3.038 MB / 0.5055 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3618, allocations: 0.9375 kB / 0.5055 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3619, allocations: 27.56 kB / 0.5055 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.362, allocations: 2.094 kB / 0.5055 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.3621, allocations: 41.5 kB / 0.5056 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.3621, allocations: 9.438 kB / 0.5056 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3621, allocations: 2.625 kB / 0.5056 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.3653, allocations: 2.373 MB / 0.5079 GB, free: 33.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3655, allocations: 131.1 kB / 0.508 GB, free: 33.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.3657, allocations: 80.64 kB / 0.5081 GB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/0.3662, allocations: 76.45 kB / 0.5082 GB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005363/0.3667, allocations: 331.1 kB / 0.5085 GB, free: 33.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.3669, allocations: 46.73 kB / 0.5085 GB, free: 33.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.3671, allocations: 245.4 kB / 0.5088 GB, free: 33.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3671, allocations: 0 / 0.5088 GB, free: 33.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001061/0.3682, allocations: 342.2 kB / 0.5091 GB, free: 33.06 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.003989/0.3722, allocations: 3.194 MB / 0.5122 GB, free: 31.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.3748, allocations: 2.1 MB / 0.5143 GB, free: 30.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3748, allocations: 4.875 kB / 0.5143 GB, free: 30.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.377, allocations: 3.153 MB / 0.5173 GB, free: 27.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.3776, allocations: 108.4 kB / 0.5174 GB, free: 27.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009858/0.3875, allocations: 7.947 MB / 0.5252 GB, free: 23.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3879, allocations: 0.9208 MB / 0.5261 GB, free: 22.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000357/0.3882, allocations: 140.8 kB / 0.5262 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.3885, allocations: 187.2 kB / 0.5264 GB, free: 22.51 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3885, allocations: 5.375 kB / 0.5264 GB, free: 22.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.4232, allocations: 18.33 MB / 0.5443 GB, free: 7.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/9.015, allocations: 11.69 kB / 0.5443 GB, free: 7.355 MB / 382.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) "" 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