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.005398/0.005398, allocations: 101.2 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.001321/0.001321, allocations: 195.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, 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.2124/0.2124, allocations: 16.78 MB / 307.3 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.42 kB / 425.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09473, allocations: 53.48 MB / 479.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002381/0.09716, allocations: 1.863 MB / 481.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.1, allocations: 1.913 MB / 483.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.1003, allocations: 5.688 kB / 483.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1006, allocations: 105.1 kB / 483.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1009, allocations: 115.2 kB / 483.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1024, allocations: 0.903 MB / 484.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.1035, allocations: 1.426 MB / 485.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1037, allocations: 140.6 kB / 485.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.1042, allocations: 0.5252 MB / 486.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.1046, allocations: 310.7 kB / 486.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1047, allocations: 70.88 kB / 486.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.1053, allocations: 0.4918 MB / 487.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1055, allocations: 128.8 kB / 487.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.1057, allocations: 337.5 kB / 487.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.1065, allocations: 1.043 MB / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1066, allocations: 0 / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1066, allocations: 0 / 488.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1066, allocations: 0 / 488.7 MB, free: 3.891 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.001181/0.1078, allocations: 1.209 MB / 489.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1078, allocations: 11.89 kB / 489.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.1079, allocations: 114.7 kB / 490 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.1082, allocations: 88.11 kB / 490.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.1087, allocations: 410.8 kB / 490.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-05/0.1087, allocations: 78.62 kB / 490.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.1088, allocations: 67.98 kB / 490.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.1101, allocations: 1.097 MB / 491.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1101, allocations: 3.938 kB / 491.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/0.1102, allocations: 39.98 kB / 491.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.353e-05/0.1103, allocations: 44.97 kB / 491.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.1114, allocations: 0.7376 MB / 492.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.1146, allocations: 2.998 MB / 495.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.1161, allocations: 1.377 MB / 497 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.1173, allocations: 1.244 MB / 498.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.555e-05/0.1174, allocations: 89.09 kB / 498.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.1186, allocations: 0.7785 MB / 499.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.234e-06/0.1186, allocations: 0 / 499.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003296/0.1219, allocations: 2.208 MB / 0.4895 GB, free: 6.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003346/0.1223, allocations: 0.5152 MB / 0.49 GB, free: 6.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.1227, allocations: 372 kB / 0.4904 GB, free: 5.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.09e-05/0.1228, allocations: 61.69 kB / 0.4904 GB, free: 5.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.123, allocations: 236.7 kB / 0.4907 GB, free: 5.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.1232, allocations: 181.8 kB / 0.4908 GB, free: 5.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.1235, allocations: 198.6 kB / 0.491 GB, free: 5.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1236, allocations: 374.8 kB / 0.4914 GB, free: 4.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.1241, allocations: 302.1 kB / 0.4917 GB, free: 4.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.1248, allocations: 0.6362 MB / 0.4923 GB, free: 3.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.1273, allocations: 2.031 MB / 0.4943 GB, free: 1.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.1273, allocations: 8 kB / 0.4943 GB, free: 1.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001976/0.1293, allocations: 1.459 MB / 0.4957 GB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.1295, allocations: 315.2 kB / 0.496 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.1295, allocations: 8 kB / 0.496 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.1295, allocations: 20.17 kB / 0.496 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.1299, allocations: 111.7 kB / 0.4962 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/0.1299, allocations: 27.86 kB / 0.4962 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.1303, allocations: 111 kB / 0.4963 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.1304, allocations: 48 kB / 0.4963 GB, free: 15.13 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.0007918/0.1312, allocations: 0.6931 MB / 0.497 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.1313, allocations: 67.44 kB / 0.4971 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.1337, allocations: 1.665 MB / 0.4987 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1337, allocations: 7.938 kB / 0.4987 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1337, allocations: 4 kB / 0.4987 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1337, allocations: 0 / 0.4987 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.1373, allocations: 2.593 MB / 0.5012 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.1373, allocations: 0 / 0.5012 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1374, allocations: 39.8 kB / 0.5013 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1374, allocations: 4 kB / 0.5013 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/0.1375, allocations: 39.97 kB / 0.5013 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1375, allocations: 3.984 kB / 0.5013 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1376, allocations: 0 / 0.5013 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.1403, allocations: 2.071 MB / 0.5033 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1404, allocations: 128.3 kB / 0.5035 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.1406, allocations: 71.98 kB / 0.5035 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.141, allocations: 55.95 kB / 0.5036 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.1412, allocations: 83.86 kB / 0.5037 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-05/0.1413, allocations: 43.97 kB / 0.5037 GB, free: 7.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.1415, allocations: 219.1 kB / 0.5039 GB, free: 7.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1415, allocations: 0 / 0.5039 GB, free: 7.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009436/0.1425, allocations: 307.7 kB / 0.5042 GB, free: 6.77 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.003819/0.1463, allocations: 2.884 MB / 0.507 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.1485, allocations: 1.727 MB / 0.5087 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1485, allocations: 4 kB / 0.5087 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.1507, allocations: 2.797 MB / 0.5115 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.1513, allocations: 106.5 kB / 0.5116 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/0.16, allocations: 6.953 MB / 0.5183 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.1605, allocations: 0.8958 MB / 0.5192 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00031/0.1609, allocations: 132.9 kB / 0.5193 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.1611, allocations: 171.4 kB / 0.5195 GB, free: 6.363 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1611, allocations: 0 / 0.5195 GB, free: 6.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.1993, allocations: 15.67 MB / 0.5348 GB, free: 6.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/8.717, allocations: 7.25 kB / 0.5348 GB, free: 6.699 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) "" 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.enablingBeneIn[1],P1.enablingPrioIn[1],P1.enablingProbIn[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,T1.active,T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,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