Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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.007563/0.007563, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001907/0.001908, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2045/0.2045, allocations: 16.76 MB / 307.3 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.97 kB / 425.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09556, allocations: 53.48 MB / 479.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002837/0.09844, allocations: 1.852 MB / 481.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.1014, allocations: 1.923 MB / 483.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.1017, allocations: 6.406 kB / 483.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.102, allocations: 109.1 kB / 483.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.1023, allocations: 107.1 kB / 483.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.1039, allocations: 0.9091 MB / 484.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.1051, allocations: 1.415 MB / 485.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.1053, allocations: 151.7 kB / 485.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.1058, allocations: 0.5173 MB / 486.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.1061, allocations: 314.1 kB / 486.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.1063, allocations: 71.88 kB / 486.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006905/0.107, allocations: 0.4951 MB / 487.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1071, allocations: 121.1 kB / 487.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.1074, allocations: 340.9 kB / 487.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009215/0.1084, allocations: 1.051 MB / 488.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1084, allocations: 0 / 488.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1084, allocations: 4 kB / 488.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1084, allocations: 0 / 488.7 MB, free: 3.879 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001186/0.1096, allocations: 1.223 MB / 489.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1096, allocations: 11.89 kB / 489.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.1097, allocations: 114.7 kB / 490.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.11, allocations: 92.48 kB / 490.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1104, allocations: 402.9 kB / 490.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.1105, allocations: 74.69 kB / 490.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.1106, allocations: 71.98 kB / 490.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.1119, allocations: 1.097 MB / 491.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1119, allocations: 0 / 491.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/0.112, allocations: 35.98 kB / 491.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.112, allocations: 48.89 kB / 491.9 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.1132, allocations: 0.7454 MB / 492.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.117, allocations: 3.002 MB / 495.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.1187, allocations: 1.38 MB / 497 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.1201, allocations: 1.241 MB / 498.2 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.772e-05/0.1202, allocations: 89.11 kB / 498.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/0.1215, allocations: 0.7864 MB / 499.1 MB, free: 9.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 4.438e-06/0.1215, allocations: 0 / 499.1 MB, free: 9.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003502/0.125, allocations: 2.2 MB / 0.4896 GB, free: 6.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003823/0.1254, allocations: 0.5229 MB / 0.4901 GB, free: 6.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.1258, allocations: 368.3 kB / 0.4904 GB, free: 5.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.541e-05/0.1259, allocations: 65.69 kB / 0.4905 GB, free: 5.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.1261, allocations: 237.2 kB / 0.4907 GB, free: 5.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.1263, allocations: 194.6 kB / 0.4909 GB, free: 5.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.1266, allocations: 206.6 kB / 0.4911 GB, free: 5.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1268, allocations: 362.8 kB / 0.4914 GB, free: 4.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.1273, allocations: 306.1 kB / 0.4917 GB, free: 4.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/0.1282, allocations: 0.6323 MB / 0.4923 GB, free: 3.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.1309, allocations: 2.043 MB / 0.4943 GB, free: 1.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.1309, allocations: 0 / 0.4943 GB, free: 1.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002199/0.1331, allocations: 1.463 MB / 0.4958 GB, free: 15.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.1334, allocations: 313 kB / 0.4961 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.1334, allocations: 8 kB / 0.4961 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.541e-05/0.1335, allocations: 16.72 kB / 0.4961 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.134, allocations: 119.6 kB / 0.4962 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-05/0.134, allocations: 23.94 kB / 0.4962 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.1345, allocations: 103.3 kB / 0.4963 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.1346, allocations: 52.23 kB / 0.4964 GB, free: 15.08 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * 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.0009956/0.1356, allocations: 0.7061 MB / 0.4971 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.1358, allocations: 71.67 kB / 0.4971 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.1384, allocations: 1.665 MB / 0.4988 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1384, allocations: 7.938 kB / 0.4988 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1384, allocations: 0 / 0.4988 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1385, allocations: 3.984 kB / 0.4988 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/0.1423, allocations: 2.593 MB / 0.5013 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1423, allocations: 0 / 0.5013 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1425, allocations: 35.8 kB / 0.5013 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.1425, allocations: 4 kB / 0.5013 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/0.1426, allocations: 35.98 kB / 0.5014 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.1426, allocations: 4 kB / 0.5014 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/0.1426, allocations: 3.984 kB / 0.5014 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.1458, allocations: 2.063 MB / 0.5034 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.146, allocations: 136.6 kB / 0.5035 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.1462, allocations: 71.97 kB / 0.5036 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.1466, allocations: 47.97 kB / 0.5036 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.1468, allocations: 87.83 kB / 0.5037 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.1469, allocations: 47.98 kB / 0.5038 GB, free: 7.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000318/0.1473, allocations: 223 kB / 0.504 GB, free: 7.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1473, allocations: 0 / 0.504 GB, free: 7.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001227/0.1485, allocations: 303.6 kB / 0.5043 GB, free: 6.707 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: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * 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.004305/0.1528, allocations: 2.877 MB / 0.5071 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.1553, allocations: 1.739 MB / 0.5088 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1553, allocations: 0 / 0.5088 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002611/0.158, allocations: 2.808 MB / 0.5115 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.1586, allocations: 95.56 kB / 0.5116 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009652/0.1683, allocations: 6.976 MB / 0.5184 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.1689, allocations: 0.8958 MB / 0.5193 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.1692, allocations: 124.4 kB / 0.5194 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.1695, allocations: 175.4 kB / 0.5196 GB, free: 6.277 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1695, allocations: 0 / 0.5196 GB, free: 6.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.2106, allocations: 15.3 MB / 0.5345 GB, free: 6.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/8.874, allocations: 8.844 kB / 0.5345 GB, free: 6.98 MB / 414.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches