Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",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.001448/0.001448, allocations: 108 kB / 15.63 MB, free: 108 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 192 kB / 16.56 MB, free: 6.652 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1846/0.1846, allocations: 16.75 MB / 307.1 MB, free: 14.9 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 371.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3177, allocations: 53.45 MB / 425.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003032/0.3208, allocations: 1.855 MB / 427.1 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.3239, allocations: 1.916 MB / 429 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.3243, allocations: 9.656 kB / 429 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.3247, allocations: 107.2 kB / 429.1 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.3252, allocations: 111.1 kB / 429.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.3271, allocations: 0.8996 MB / 430.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.3283, allocations: 1.419 MB / 431.5 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.3286, allocations: 151.5 kB / 431.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.329, allocations: 0.5198 MB / 432.2 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.3294, allocations: 307.9 kB / 432.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.886e-05/0.3295, allocations: 76.09 kB / 432.6 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006386/0.3301, allocations: 0.4926 MB / 433.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3302, allocations: 133.9 kB / 433.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.3305, allocations: 338.5 kB / 433.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009013/0.3314, allocations: 1.034 MB / 434.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3314, allocations: 0 / 434.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3315, allocations: 0 / 434.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3315, allocations: 0 / 434.6 MB, free: 35.46 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.001286/0.3328, allocations: 1.203 MB / 435.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3328, allocations: 14.05 kB / 435.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.3329, allocations: 116.8 kB / 435.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.3332, allocations: 87.75 kB / 436 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.3337, allocations: 406.1 kB / 436.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.3338, allocations: 74.55 kB / 436.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.3339, allocations: 68.23 kB / 436.5 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3353, allocations: 1.1 MB / 437.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3353, allocations: 4 kB / 437.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.3354, allocations: 30.34 kB / 437.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-05/0.3355, allocations: 46.39 kB / 437.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3365, allocations: 0.7224 MB / 438.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.3392, allocations: 2.992 MB / 441.4 MB, free: 30.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3403, allocations: 1.263 MB / 442.7 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008808/0.3412, allocations: 1.177 MB / 443.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.3413, allocations: 88.56 kB / 443.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009885/0.3423, allocations: 0.7465 MB / 444.7 MB, free: 28.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.903e-06/0.3423, allocations: 3.188 kB / 444.7 MB, free: 28.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.002793/0.3451, allocations: 2.114 MB / 446.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/0.3453, allocations: 0.5423 MB / 447.3 MB, free: 27.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.3456, allocations: 370.5 kB / 447.7 MB, free: 27.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.3457, allocations: 64.97 kB / 447.8 MB, free: 27.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3458, allocations: 238.8 kB / 448 MB, free: 26.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3459, allocations: 181.5 kB / 448.2 MB, free: 26.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.3462, allocations: 201.5 kB / 448.4 MB, free: 26.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.3462, allocations: 378.2 kB / 448.7 MB, free: 26.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.3467, allocations: 304.5 kB / 449 MB, free: 26.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.3472, allocations: 0.6438 MB / 449.7 MB, free: 25.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.349, allocations: 2.039 MB / 451.7 MB, free: 24.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3491, allocations: 3.344 kB / 451.7 MB, free: 24.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001631/0.3507, allocations: 1.452 MB / 453.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.3509, allocations: 315.9 kB / 453.5 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3509, allocations: 9.156 kB / 453.5 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.159e-05/0.3509, allocations: 21.91 kB / 453.5 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.3513, allocations: 107.7 kB / 453.6 MB, free: 22.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.3513, allocations: 29.03 kB / 453.7 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.3516, allocations: 98.73 kB / 453.8 MB, free: 22.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.3517, allocations: 53.81 kB / 453.8 MB, free: 22.89 MB / 350.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: 47 * 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,P1.enableIn.arcWeight[1],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.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 (123): * Single equations (assignments): 113 * 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.0007016/0.3524, allocations: 0.7114 MB / 454.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3526, allocations: 69.53 kB / 454.6 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.3545, allocations: 1.606 MB / 456.2 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3545, allocations: 6.969 kB / 456.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3545, allocations: 3.094 kB / 456.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3545, allocations: 0 / 456.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.3575, allocations: 2.517 MB / 458.7 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3575, allocations: 5.188 kB / 458.7 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3577, allocations: 24 kB / 458.7 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3577, allocations: 5.25 kB / 458.7 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.3578, allocations: 34.58 kB / 458.8 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3578, allocations: 3.031 kB / 458.8 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3578, allocations: 0 / 458.8 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.3605, allocations: 2.014 MB / 460.8 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.3606, allocations: 125.6 kB / 460.9 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.3608, allocations: 71.62 kB / 461 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.3612, allocations: 52.12 kB / 461 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.3614, allocations: 79.14 kB / 461.1 MB, free: 19.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/0.3615, allocations: 43.05 kB / 461.2 MB, free: 19.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.3617, allocations: 232.2 kB / 461.4 MB, free: 19.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3617, allocations: 0 / 461.4 MB, free: 19.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001135/0.3629, allocations: 301.3 kB / 461.7 MB, free: 18.97 MB / 350.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: 66 ($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.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 (35): * Single equations (assignments): 23 * 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.003489/0.3664, allocations: 2.824 MB / 464.5 MB, free: 17.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.3685, allocations: 1.7 MB / 466.2 MB, free: 16.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3685, allocations: 0 / 466.2 MB, free: 16.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.3703, allocations: 2.714 MB / 468.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.3709, allocations: 95.92 kB / 469 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009394/0.3803, allocations: 7.021 MB / 476 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.3808, allocations: 0.8922 MB / 476.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004021/0.3812, allocations: 126.7 kB / 477.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.3815, allocations: 174.6 kB / 477.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3815, allocations: 4 kB / 477.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.4193, allocations: 15.13 MB / 492.4 MB, free: 52 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.411/6.83, allocations: 4.062 kB / 492.4 MB, free: 48 kB / 350.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPD.fmu > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","../files/PNlib_PNlib.Examples.DisTest.TDtoPD.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