Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9014/0.9014, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04675/0.04675, allocations: 12.64 MB / 271.8 MB, free: 0.7344 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 402.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.443e-05, allocations: 2.281 kB / 402.3 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.002798/0.002812, allocations: 1.734 MB / 404 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.005674, allocations: 1.886 MB / 405.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.005814, allocations: 7.938 kB / 405.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.0061, allocations: 119 kB / 406 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.006383, allocations: 135 kB / 406.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.007463, allocations: 0.9625 MB / 407.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008506/0.008314, allocations: 1.334 MB / 408.4 MB, free: 4.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.008448, allocations: 56.41 kB / 408.5 MB, free: 4.418 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007293/0.009177, allocations: 0.7448 MB / 409.2 MB, free: 3.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.009472, allocations: 287 kB / 409.5 MB, free: 3.391 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.009539, allocations: 72 kB / 409.6 MB, free: 3.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.01002, allocations: 0.5965 MB / 410.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.01015, allocations: 143.3 kB / 410.3 MB, free: 2.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.01034, allocations: 235.4 kB / 410.5 MB, free: 2.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.01124, allocations: 1.188 MB / 411.7 MB, free: 1.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01125, allocations: 0 / 411.7 MB, free: 1.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01125, allocations: 4 kB / 411.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.01126, allocations: 0 / 411.7 MB, free: 1.156 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001119/0.01237, allocations: 1.139 MB / 412.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.01241, allocations: 8.031 kB / 412.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.01251, allocations: 114.7 kB / 413 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.01269, allocations: 92.5 kB / 413.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.01306, allocations: 345.7 kB / 413.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.01313, allocations: 100.7 kB / 413.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.0132, allocations: 67.98 kB / 413.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.01443, allocations: 1.54 MB / 415.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.01444, allocations: 0 / 415.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.01449, allocations: 31.98 kB / 415.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.01454, allocations: 52.89 kB / 415.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.01566, allocations: 1.036 MB / 416.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.01762, allocations: 2.7 MB / 418.9 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.01835, allocations: 0.8584 MB / 419.8 MB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.01893, allocations: 0.7613 MB / 420.6 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.01896, allocations: 19.92 kB / 420.6 MB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008583/0.01982, allocations: 1.099 MB / 421.7 MB, free: 6.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 1.153e-06/0.01982, allocations: 0 / 421.7 MB, free: 6.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.002493/0.02231, allocations: 2.858 MB / 424.5 MB, free: 3.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.0225, allocations: 0.5326 MB / 425.1 MB, free: 2.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.02275, allocations: 400 kB / 425.5 MB, free: 2.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.0228, allocations: 65.69 kB / 425.5 MB, free: 2.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.02291, allocations: 241.2 kB / 425.8 MB, free: 2.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.02301, allocations: 190.6 kB / 425.9 MB, free: 2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.02316, allocations: 194.6 kB / 426.1 MB, free: 1.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.02327, allocations: 374.8 kB / 426.5 MB, free: 1.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.02366, allocations: 0.5851 MB / 427.1 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.02421, allocations: 1.022 MB / 428.1 MB, free: 15.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.02586, allocations: 2.021 MB / 430.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.02587, allocations: 0 / 430.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001289/0.02716, allocations: 1.753 MB / 431.9 MB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.02727, allocations: 309 kB / 432.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.02728, allocations: 12 kB / 432.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.0273, allocations: 16.14 kB / 432.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.02748, allocations: 103.8 kB / 432.3 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.0275, allocations: 27.86 kB / 432.3 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.0277, allocations: 107.2 kB / 432.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.02775, allocations: 51.98 kB / 432.5 MB, free: 10.64 MB / 410.7 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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.firingTime,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 (118): * Single equations (assignments): 108 * 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.0004662/0.02822, allocations: 0.7034 MB / 433.2 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.02829, allocations: 67.67 kB / 433.3 MB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.02995, allocations: 1.915 MB / 435.2 MB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.02996, allocations: 4 kB / 435.2 MB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.02996, allocations: 0 / 435.2 MB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.02997, allocations: 7.922 kB / 435.2 MB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.03224, allocations: 2.468 MB / 437.7 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.03224, allocations: 0 / 437.7 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.0323, allocations: 27.92 kB / 437.7 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.0323, allocations: 0 / 437.7 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.03236, allocations: 39.97 kB / 437.7 MB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.03236, allocations: 3.938 kB / 437.7 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.03236, allocations: 8 kB / 437.7 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.03435, allocations: 2.429 MB / 440.2 MB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.03439, allocations: 47.59 kB / 440.2 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.0345, allocations: 63.98 kB / 440.3 MB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.03468, allocations: 55.89 kB / 440.3 MB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.03481, allocations: 83.91 kB / 440.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.03486, allocations: 43.97 kB / 440.5 MB, free: 2.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.03501, allocations: 231 kB / 440.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03501, allocations: 0 / 440.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005839/0.03559, allocations: 311.5 kB / 441 MB, free: 1.785 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 64 ($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,$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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.1443/0.1799, allocations: 3.248 MB / 444.2 MB, free: 80.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.1814, allocations: 2.27 MB / 446.5 MB, free: 78.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1814, allocations: 3 kB / 446.5 MB, free: 78.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.1821, allocations: 1.399 MB / 447.9 MB, free: 77.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1825, allocations: 93.89 kB / 448 MB, free: 77.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.1877, allocations: 8.318 MB / 456.3 MB, free: 72.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.1878, allocations: 294.1 kB / 456.6 MB, free: 72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.188, allocations: 125.8 kB / 456.7 MB, free: 71.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1881, allocations: 172 kB / 456.9 MB, free: 71.87 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1881, allocations: 9.562 kB / 456.9 MB, free: 71.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.2103, allocations: 16.61 MB / 473.5 MB, free: 69.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.566, allocations: 7.094 kB / 473.5 MB, free: 69.14 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.456065722741187]