Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.ConTest.TCtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPCfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.TCtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPCfunction",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.00163/0.00163, 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.001562/0.001562, allocations: 193.3 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2017/0.2017, allocations: 16.75 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 371.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 53.45 MB / 425.2 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.00286/0.3027, allocations: 1.989 MB / 427.2 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.3055, allocations: 1.691 MB / 428.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.3057, allocations: 8.531 kB / 428.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.306, allocations: 131.8 kB / 429 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.3065, allocations: 120.8 kB / 429.1 MB, free: 38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.3079, allocations: 0.6968 MB / 429.8 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.3091, allocations: 1.397 MB / 431.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.3093, allocations: 156.2 kB / 431.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.3098, allocations: 0.5297 MB / 431.9 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.3102, allocations: 339.7 kB / 432.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.3104, allocations: 76.75 kB / 432.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006237/0.311, allocations: 462.5 kB / 432.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.3112, allocations: 161 kB / 432.9 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.3115, allocations: 340.4 kB / 433.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.3124, allocations: 1.05 MB / 434.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3124, allocations: 0 / 434.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3124, allocations: 2.844 kB / 434.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.3125, allocations: 4 kB / 434.3 MB, free: 35.72 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.001642/0.3141, allocations: 1.248 MB / 435.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.3142, allocations: 14.95 kB / 435.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.3143, allocations: 122.8 kB / 435.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.315, allocations: 136.5 kB / 435.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.3154, allocations: 410.3 kB / 436.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.3155, allocations: 144.1 kB / 436.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.3156, allocations: 70.55 kB / 436.4 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.3172, allocations: 1.123 MB / 437.6 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.3172, allocations: 7.938 kB / 437.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.3173, allocations: 37.45 kB / 437.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.062e-05/0.3174, allocations: 54.34 kB / 437.7 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3186, allocations: 0.7686 MB / 438.4 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.3214, allocations: 2.824 MB / 441.2 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.3227, allocations: 1.083 MB / 442.3 MB, free: 30.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/0.3235, allocations: 0.9707 MB / 443.3 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.3249, allocations: 2.872 MB / 446.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008718/0.3258, allocations: 0.6888 MB / 446.9 MB, free: 26.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 2.755e-06/0.3258, allocations: 0 / 446.9 MB, free: 26.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.003239/0.3291, allocations: 2.156 MB / 449 MB, free: 25.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/0.3293, allocations: 0.5327 MB / 449.6 MB, free: 24.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.3296, allocations: 365.6 kB / 449.9 MB, free: 24.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.3297, allocations: 63.83 kB / 450 MB, free: 24.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3299, allocations: 253.3 kB / 450.2 MB, free: 24.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.33, allocations: 179 kB / 450.4 MB, free: 24.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.3303, allocations: 199.3 kB / 450.6 MB, free: 24.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3304, allocations: 368.2 kB / 450.9 MB, free: 23.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.3309, allocations: 332.5 kB / 451.3 MB, free: 23.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.3315, allocations: 0.638 MB / 451.9 MB, free: 23.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.3329, allocations: 1.613 MB / 453.5 MB, free: 22.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.333, allocations: 3.5 kB / 453.5 MB, free: 22.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001825/0.3348, allocations: 1.57 MB / 455.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.3349, allocations: 350 kB / 455.4 MB, free: 20.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001015/0.336, allocations: 0.7442 MB / 456.2 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.3363, allocations: 86.64 kB / 456.3 MB, free: 20.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.3366, allocations: 109.4 kB / 456.4 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003674/0.337, allocations: 0.6158 MB / 457 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.3374, allocations: 98.05 kB / 457.1 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.3375, allocations: 51.34 kB / 457.1 MB, free: 19.84 MB / 350.1 MB Warning: Assuming fixed start value for the following 18 variables: P1.enableOut.Index:DISCRETE(fixed = true protected = true ) 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 P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 101 ($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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition3,$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007771/0.3383, allocations: 0.7208 MB / 457.9 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.3384, allocations: 67.62 kB / 457.9 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.3406, allocations: 1.682 MB / 459.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3406, allocations: 3.125 kB / 459.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3406, allocations: 3.156 kB / 459.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3406, allocations: 3.547 kB / 459.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.3441, allocations: 2.561 MB / 462.2 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002151/0.3463, allocations: 1.571 MB / 463.7 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.3465, allocations: 22.94 kB / 463.8 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.3467, allocations: 66.5 kB / 463.8 MB, free: 16.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.461e-05/0.3468, allocations: 38 kB / 463.9 MB, free: 16.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003577/0.3472, allocations: 0.6102 MB / 464.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3472, allocations: 1.281 kB / 464.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/0.3509, allocations: 2.612 MB / 467.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.351, allocations: 123.9 kB / 467.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.3512, allocations: 69.53 kB / 467.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.3516, allocations: 49.16 kB / 467.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.3518, allocations: 61.83 kB / 467.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-05/0.3519, allocations: 43.86 kB / 467.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.3521, allocations: 228.1 kB / 467.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3521, allocations: 0 / 467.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001121/0.3533, allocations: 294.5 kB / 467.9 MB, free: 14.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[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.disTAin[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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition3,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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue) * Number of discrete states: 50 (P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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,P1.enableOut.arcWeightSum,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004471/0.3577, allocations: 3.41 MB / 471.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.3604, allocations: 1.872 MB / 473.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.3604, allocations: 1.094 kB / 473.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.3623, allocations: 2.298 MB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.3629, allocations: 86.11 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.3739, allocations: 7.072 MB / 482.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.3744, allocations: 0.9166 MB / 483.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004141/0.3748, allocations: 122.4 kB / 483.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.3751, allocations: 180.2 kB / 483.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3751, allocations: 3.938 kB / 483.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.4167, allocations: 15.28 MB / 499.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.65, allocations: 3.438 kB / 499.2 MB, free: 8.441 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 PNlib_PNlib_Examples_ConTest_TCtoPCfunction.fmu > PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches