Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001011/0.001011, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.001106/0.001106, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.915/0.915, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0671/0.0671, allocations: 12.66 MB / 271.9 MB, free: 0.7773 MB / 250.7 MB " [Timeout remaining time 180] 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.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 403.8 MB, free: 9.098 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/2.016e-05, allocations: 2.281 kB / 403.8 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003494/0.003515, allocations: 1.731 MB / 405.6 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.007127, allocations: 1.843 MB / 407.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.007552, allocations: 11.94 kB / 407.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.007984, allocations: 123 kB / 407.5 MB, free: 5.371 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.008489, allocations: 143 kB / 407.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.0107, allocations: 0.9431 MB / 408.6 MB, free: 4.285 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.01241, allocations: 1.349 MB / 410 MB, free: 2.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.01264, allocations: 69.23 kB / 410 MB, free: 2.859 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.01368, allocations: 0.7565 MB / 410.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006318/0.01431, allocations: 315 kB / 411.1 MB, free: 1.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.01449, allocations: 92 kB / 411.2 MB, free: 1.703 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.01577, allocations: 0.6122 MB / 411.8 MB, free: 1.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.01597, allocations: 155.3 kB / 412 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.01637, allocations: 287.3 kB / 412.2 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.01835, allocations: 1.352 MB / 413.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01835, allocations: 4 kB / 413.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.01835, allocations: 0 / 413.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.01837, allocations: 0 / 413.6 MB, free: 15.3 MB / 394.7 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.001356/0.01973, allocations: 1.198 MB / 414.8 MB, free: 14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01977, allocations: 8.031 kB / 414.8 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.01988, allocations: 130.7 kB / 414.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.02014, allocations: 88.52 kB / 415 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.02061, allocations: 376.7 kB / 415.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/0.0207, allocations: 120.8 kB / 415.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.02078, allocations: 75.98 kB / 415.6 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.02259, allocations: 1.797 MB / 417.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.02261, allocations: 4 kB / 417.4 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.02268, allocations: 35.98 kB / 417.4 MB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-05/0.02277, allocations: 52.95 kB / 417.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.02481, allocations: 1.247 MB / 418.7 MB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.02901, allocations: 2.997 MB / 421.7 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.03059, allocations: 1.002 MB / 422.7 MB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.0319, allocations: 0.9176 MB / 423.6 MB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.199e-05/0.03198, allocations: 8 kB / 423.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.03371, allocations: 1.271 MB / 424.9 MB, free: 3.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 3.166e-06/0.03371, allocations: 0 / 424.9 MB, free: 3.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.004882/0.03859, allocations: 3.342 MB / 428.2 MB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003376/0.03893, allocations: 0.5599 MB / 428.8 MB, free: 15.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.03955, allocations: 433.2 kB / 429.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.03967, allocations: 69.69 kB / 429.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.03991, allocations: 268.9 kB / 429.6 MB, free: 14.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.04012, allocations: 198.6 kB / 429.8 MB, free: 14.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.04048, allocations: 234.5 kB / 430 MB, free: 13.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.04064, allocations: 378.7 kB / 430.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.04159, allocations: 0.749 MB / 431.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.04282, allocations: 1.227 MB / 432.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.04606, allocations: 2.552 MB / 434.9 MB, free: 8.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.04608, allocations: 0 / 434.9 MB, free: 8.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001986/0.04807, allocations: 2.18 MB / 437.1 MB, free: 6.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.04823, allocations: 337 kB / 437.4 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.04824, allocations: 16 kB / 437.4 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.04827, allocations: 19.94 kB / 437.4 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.04852, allocations: 123.7 kB / 437.5 MB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.04853, allocations: 23.92 kB / 437.6 MB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.04888, allocations: 127.3 kB / 437.7 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.04895, allocations: 63.98 kB / 437.8 MB, free: 5.328 MB / 410.7 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: 52 * 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.arcWeight[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.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 (135): * Single equations (assignments): 124 * 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.0007684/0.04971, allocations: 0.7572 MB / 438.5 MB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.04982, allocations: 75.67 kB / 438.6 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.05209, allocations: 2.336 MB / 440.9 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.05211, allocations: 7.984 kB / 440.9 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.05211, allocations: 0 / 440.9 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.05212, allocations: 0 / 440.9 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1407/0.1928, allocations: 3.168 MB / 444.1 MB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.1928, allocations: 2.938 kB / 444.1 MB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.327e-05/0.1929, allocations: 26.19 kB / 444.1 MB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1929, allocations: 3.125 kB / 444.1 MB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.193, allocations: 39.56 kB / 444.2 MB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.193, allocations: 1.562 kB / 444.2 MB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.193, allocations: 3.031 kB / 444.2 MB, free: 80.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.1955, allocations: 2.79 MB / 447 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.1955, allocations: 61.75 kB / 447 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.1957, allocations: 75.88 kB / 447.1 MB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.196, allocations: 70.05 kB / 447.2 MB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/0.1964, allocations: 333.2 kB / 447.5 MB, free: 78.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.1964, allocations: 50.23 kB / 447.5 MB, free: 78.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001888/0.1966, allocations: 252 kB / 447.8 MB, free: 78.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1966, allocations: 0 / 447.8 MB, free: 78.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009467/0.1976, allocations: 338.1 kB / 448.1 MB, free: 78.7 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: 68 ($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.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 (37): * Single equations (assignments): 24 * 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.003046/0.2006, allocations: 3.627 MB / 451.7 MB, free: 76.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.2025, allocations: 2.615 MB / 454.4 MB, free: 74.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2025, allocations: 0 / 454.4 MB, free: 74.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.2035, allocations: 1.581 MB / 455.9 MB, free: 73.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.204, allocations: 118.7 kB / 456.1 MB, free: 73.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.2114, allocations: 9.567 MB / 465.6 MB, free: 67.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.2116, allocations: 317.2 kB / 465.9 MB, free: 67.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.2118, allocations: 141.2 kB / 466.1 MB, free: 67.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.212, allocations: 195 kB / 466.3 MB, free: 67.36 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.212, allocations: 0 / 466.3 MB, free: 67.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09421/0.3062, allocations: 19.6 MB / 485.9 MB, free: 64.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.245, allocations: 20.16 kB / 485.9 MB, free: 64.18 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_DisTest_PDtoTD.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.957973251119256]