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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 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.001382/0.001382, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2091/0.2091, allocations: 16.76 MB / 307.1 MB, free: 14.92 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 59.91 kB / 371.7 MB, free: 3.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2866, allocations: 53.45 MB / 425.2 MB, free: 39.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002618/0.2893, allocations: 1.856 MB / 427.1 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.2922, allocations: 1.917 MB / 429 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2925, allocations: 10.41 kB / 429 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.2928, allocations: 106 kB / 429.1 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.2931, allocations: 107.2 kB / 429.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2947, allocations: 0.9068 MB / 430.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.2957, allocations: 1.41 MB / 431.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.2959, allocations: 153.7 kB / 431.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.2964, allocations: 0.5168 MB / 432.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.2967, allocations: 311.7 kB / 432.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.2969, allocations: 70.53 kB / 432.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006882/0.2976, allocations: 497.3 kB / 433 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2977, allocations: 132.1 kB / 433.2 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.298, allocations: 339.2 kB / 433.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009142/0.2989, allocations: 1.016 MB / 434.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2989, allocations: 0 / 434.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.299, allocations: 4 kB / 434.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.299, allocations: 0 / 434.5 MB, free: 35.92 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.001419/0.3004, allocations: 1.204 MB / 435.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3004, allocations: 12.36 kB / 435.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.3006, allocations: 115.1 kB / 435.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.3009, allocations: 84.67 kB / 435.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.3013, allocations: 401.6 kB / 436.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/0.3014, allocations: 80.91 kB / 436.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.3015, allocations: 70.97 kB / 436.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.3029, allocations: 1.097 MB / 437.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3029, allocations: 3.938 kB / 437.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/0.303, allocations: 32.86 kB / 437.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/0.303, allocations: 49.64 kB / 437.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3041, allocations: 0.7342 MB / 438.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.3068, allocations: 3.02 MB / 441.4 MB, free: 31.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.308, allocations: 1.38 MB / 442.8 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009671/0.309, allocations: 1.246 MB / 444 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.972e-05/0.3091, allocations: 83.45 kB / 444.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.3101, allocations: 0.7864 MB / 444.9 MB, free: 29.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.414e-06/0.3101, allocations: 4 kB / 444.9 MB, free: 29.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002792/0.3129, allocations: 2.194 MB / 447.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002338/0.3132, allocations: 0.5248 MB / 447.6 MB, free: 27.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.3136, allocations: 363.3 kB / 448 MB, free: 27.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.686e-05/0.3137, allocations: 67.94 kB / 448 MB, free: 27.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3139, allocations: 233.3 kB / 448.3 MB, free: 27.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.314, allocations: 190.1 kB / 448.4 MB, free: 27.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.3142, allocations: 201.8 kB / 448.6 MB, free: 27.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.3143, allocations: 367.4 kB / 449 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.3148, allocations: 306.4 kB / 449.3 MB, free: 26.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.3154, allocations: 0.6378 MB / 449.9 MB, free: 26.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3172, allocations: 2.033 MB / 452 MB, free: 24.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.3172, allocations: 3 kB / 452 MB, free: 24.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001637/0.3188, allocations: 1.452 MB / 453.4 MB, free: 23.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.319, allocations: 316.1 kB / 453.7 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.319, allocations: 12.62 kB / 453.8 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.319, allocations: 13.41 kB / 453.8 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.3194, allocations: 118.8 kB / 453.9 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.3194, allocations: 22.67 kB / 453.9 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.3198, allocations: 99.28 kB / 454 MB, free: 23.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.3199, allocations: 52.98 kB / 454.1 MB, free: 23.23 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: 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.0006293/0.3205, allocations: 0.7042 MB / 454.8 MB, free: 22.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.3206, allocations: 70.97 kB / 454.8 MB, free: 22.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.3226, allocations: 1.671 MB / 456.5 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3226, allocations: 7.156 kB / 456.5 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3226, allocations: 0 / 456.5 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3227, allocations: 0 / 456.5 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.3257, allocations: 2.594 MB / 459.1 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3257, allocations: 3.938 kB / 459.1 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.3258, allocations: 33.08 kB / 459.1 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3258, allocations: 5.156 kB / 459.1 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.3259, allocations: 41.17 kB / 459.2 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3259, allocations: 5.094 kB / 459.2 MB, free: 20.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3259, allocations: 1.062 kB / 459.2 MB, free: 20.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.3284, allocations: 2.063 MB / 461.2 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.3285, allocations: 130.5 kB / 461.4 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.3286, allocations: 75.25 kB / 461.4 MB, free: 19.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.329, allocations: 49.55 kB / 461.5 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3292, allocations: 81.86 kB / 461.6 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/0.3293, allocations: 44.19 kB / 461.6 MB, free: 19.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.3295, allocations: 221.6 kB / 461.8 MB, free: 19.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3295, allocations: 0 / 461.8 MB, free: 19.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009389/0.3304, allocations: 305.8 kB / 462.1 MB, free: 19.2 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: 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.00326/0.3337, allocations: 2.872 MB / 465 MB, free: 17.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.3358, allocations: 1.802 MB / 466.8 MB, free: 16.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3359, allocations: 5.375 kB / 466.8 MB, free: 16.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.3376, allocations: 2.799 MB / 469.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.3381, allocations: 107.5 kB / 469.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/0.3461, allocations: 7.031 MB / 476.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3465, allocations: 0.8941 MB / 477.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.3468, allocations: 126.8 kB / 477.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.347, allocations: 175.1 kB / 477.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.347, allocations: 0 / 477.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.3786, allocations: 15.16 MB / 493.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.135, allocations: 16.91 kB / 493.1 MB, free: 15.27 MB / 366.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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv","/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