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.001012/0.001012, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007831/0.007831, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1856/0.1856, allocations: 16.73 MB / 308.2 MB, free: 15.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 11.98 kB / 373.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.308, allocations: 54.47 MB / 428 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002131/0.3101, allocations: 1.605 MB / 429.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.3141, allocations: 2.214 MB / 431.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004949/0.3146, allocations: 4 kB / 431.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.315, allocations: 83.31 kB / 431.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000543/0.3155, allocations: 88.97 kB / 432 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.3174, allocations: 0.7536 MB / 432.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3187, allocations: 1.117 MB / 433.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.319, allocations: 147.9 kB / 434 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007213/0.3198, allocations: 416 kB / 434.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.3203, allocations: 306.5 kB / 434.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.3206, allocations: 31.47 kB / 434.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008803/0.3215, allocations: 462 kB / 435.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.3217, allocations: 126.7 kB / 435.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.3222, allocations: 352.5 kB / 435.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.3234, allocations: 1.057 MB / 436.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3234, allocations: 0 / 436.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3234, allocations: 0 / 436.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3234, allocations: 0 / 436.7 MB, free: 36.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001132/0.3245, allocations: 1.131 MB / 437.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3246, allocations: 10.25 kB / 437.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.3247, allocations: 126.8 kB / 438 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/0.325, allocations: 93.44 kB / 438.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.3255, allocations: 439.2 kB / 438.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/0.3256, allocations: 81.44 kB / 438.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3257, allocations: 86.23 kB / 438.7 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.3274, allocations: 1.328 MB / 440 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3274, allocations: 0 / 440 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.3275, allocations: 39.56 kB / 440 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.429e-05/0.3276, allocations: 58.72 kB / 440.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.3289, allocations: 0.9202 MB / 441 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.332, allocations: 3.316 MB / 444.3 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.3335, allocations: 1.584 MB / 445.9 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.3346, allocations: 1.448 MB / 447.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.296e-05/0.3347, allocations: 83.77 kB / 447.4 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.3359, allocations: 0.9233 MB / 448.4 MB, free: 28.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.275e-06/0.3359, allocations: 0 / 448.4 MB, free: 28.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003414/0.3393, allocations: 2.625 MB / 451 MB, free: 27.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.3396, allocations: 0.5337 MB / 451.5 MB, free: 27.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.34, allocations: 420.2 kB / 451.9 MB, free: 26.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/0.3401, allocations: 64.41 kB / 452 MB, free: 26.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3402, allocations: 261.2 kB / 452.2 MB, free: 26.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.3404, allocations: 191.2 kB / 452.4 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3405, allocations: 142 kB / 452.6 MB, free: 26.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.3406, allocations: 372.3 kB / 452.9 MB, free: 26.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.3412, allocations: 442.6 kB / 453.4 MB, free: 26.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.342, allocations: 0.8118 MB / 454.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.3444, allocations: 2.563 MB / 456.7 MB, free: 23.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.3445, allocations: 2.875 kB / 456.7 MB, free: 23.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002329/0.3468, allocations: 1.818 MB / 458.6 MB, free: 22.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.347, allocations: 339.7 kB / 458.9 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.347, allocations: 13.44 kB / 458.9 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.347, allocations: 19.81 kB / 458.9 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.3474, allocations: 127.7 kB / 459.1 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.3474, allocations: 24.41 kB / 459.1 MB, free: 22.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.3479, allocations: 133.7 kB / 459.2 MB, free: 22.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.348, allocations: 54.88 kB / 459.3 MB, free: 22.12 MB / 350.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.0008043/0.3488, allocations: 0.7571 MB / 460 MB, free: 21.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3489, allocations: 77.06 kB / 460.1 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/0.3518, allocations: 2.024 MB / 462.1 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.3519, allocations: 4.5 kB / 462.1 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3519, allocations: 1.031 kB / 462.1 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3519, allocations: 4.297 kB / 462.1 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.356, allocations: 3.042 MB / 465.2 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.356, allocations: 8.938 kB / 465.2 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3562, allocations: 36.09 kB / 465.2 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3562, allocations: 1.531 kB / 465.2 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.3563, allocations: 37.95 kB / 465.3 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.3563, allocations: 5.031 kB / 465.3 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3563, allocations: 0 / 465.3 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.3597, allocations: 2.394 MB / 467.7 MB, free: 18.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3598, allocations: 130.4 kB / 467.8 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.36, allocations: 78.92 kB / 467.9 MB, free: 17.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.3605, allocations: 78.88 kB / 467.9 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006021/0.3612, allocations: 326.8 kB / 468.3 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.3613, allocations: 44.92 kB / 468.3 MB, free: 17.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.3616, allocations: 248.6 kB / 468.5 MB, free: 17.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3616, allocations: 0 / 468.5 MB, free: 17.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001187/0.3628, allocations: 338.6 kB / 468.9 MB, free: 17.56 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: 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.004351/0.3672, allocations: 3.204 MB / 472.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.37, allocations: 2.102 MB / 474.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.37, allocations: 0 / 474.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002601/0.3726, allocations: 3.154 MB / 477.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.3734, allocations: 105.4 kB / 477.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.3859, allocations: 8.204 MB / 485.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.3865, allocations: 0.912 MB / 486.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000476/0.387, allocations: 151.2 kB / 486.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.3873, allocations: 191.3 kB / 486.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3873, allocations: 0 / 486.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.422, allocations: 16.98 MB / 0.4921 GB, free: 6.914 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.4223, allocations: 211.3 kB / 0.4923 GB, free: 6.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/2.652, allocations: 0 / 0.4923 GB, free: 6.66 MB / 366.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","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches