Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009402/0.0009402, allocations: 106.3 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3828/0.3828, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3883, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003418/0.3918, allocations: 1.797 MB / 0.5169 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3939, allocations: 1.612 MB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.394, allocations: 6.688 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.3943, allocations: 39.83 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3945, allocations: 78.11 kB / 0.5186 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.3948, allocations: 94.09 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.3949, allocations: 101.5 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.3951, allocations: 9.719 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.3951, allocations: 43.92 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.3953, allocations: 48.88 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3953, allocations: 2.938 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.3955, allocations: 98.81 kB / 0.519 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.3955, allocations: 23.81 kB / 0.519 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.3956, allocations: 23.97 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.3958, allocations: 170.4 kB / 0.5192 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3958, allocations: 0 / 0.5192 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3958, allocations: 0 / 0.5192 GB, free: 35.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.3959, allocations: 0 / 0.5192 GB, free: 35.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000521/0.3964, allocations: 428.7 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3964, allocations: 11.47 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.3965, allocations: 7.781 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.3967, allocations: 216.5 kB / 0.5198 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3967, allocations: 10.88 kB / 0.5198 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3967, allocations: 2.906 kB / 0.5198 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3969, allocations: 67.81 kB / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3969, allocations: 4 kB / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3969, allocations: 0 / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3969, allocations: 0 / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.05e-05/0.397, allocations: 22.16 kB / 0.5199 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.3973, allocations: 293.3 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3975, allocations: 60.34 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.3975, allocations: 17.52 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3976, allocations: 2.906 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.3977, allocations: 72.09 kB / 0.5204 GB, free: 33.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3978, allocations: 0 / 0.5204 GB, free: 33.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005019/0.3983, allocations: 173.7 kB / 0.5205 GB, free: 33.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3983, allocations: 89.03 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3984, allocations: 162.8 kB / 0.5208 GB, free: 33.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3985, allocations: 32.64 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.3985, allocations: 98.45 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.3985, allocations: 18.72 kB / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.3986, allocations: 29.95 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.3986, allocations: 321.2 kB / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.3987, allocations: 16.2 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/0.3988, allocations: 48.94 kB / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.476e-05/0.3989, allocations: 67.03 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3989, allocations: 0 / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000151/0.399, allocations: 99.02 kB / 0.5215 GB, free: 33.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.399, allocations: 5.656 kB / 0.5215 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.399, allocations: 160 / 0.5215 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3991, allocations: 4.062 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.3992, allocations: 20.27 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3992, allocations: 11.83 kB / 0.5215 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.3992, allocations: 0 / 0.5215 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3992, allocations: 2.719 kB / 0.5215 GB, free: 32.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.39e-05/0.3993, allocations: 122.5 kB / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.3993, allocations: 10.23 kB / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.3994, allocations: 14.53 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3994, allocations: 0 / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3994, allocations: 7.938 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3994, allocations: 0 / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.3997, allocations: 398.3 kB / 0.522 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3998, allocations: 384 / 0.522 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.3998, allocations: 15.78 kB / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3998, allocations: 0 / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3998, allocations: 10.53 kB / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3998, allocations: 0 / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3998, allocations: 6.562 kB / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.4002, allocations: 0.7807 MB / 0.5228 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.4002, allocations: 83.8 kB / 0.5229 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.4003, allocations: 6.781 kB / 0.5229 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.4004, allocations: 10.23 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.4004, allocations: 2.844 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.4004, allocations: 2.875 kB / 0.5229 GB, free: 31.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.087e-05/0.4005, allocations: 128.9 kB / 0.5231 GB, free: 31.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4005, allocations: 0 / 0.5231 GB, free: 31.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003636/0.4009, allocations: 50.7 kB / 0.5231 GB, free: 31.51 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001076/0.402, allocations: 0.5462 MB / 0.5236 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.4021, allocations: 58.44 kB / 0.5237 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4021, allocations: 0 / 0.5237 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.4022, allocations: 32.42 kB / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.4025, allocations: 31.02 kB / 0.5238 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.4029, allocations: 346.7 kB / 0.5241 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4031, allocations: 0.7032 MB / 0.5248 GB, free: 30.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.634e-05/0.4032, allocations: 20.08 kB / 0.5248 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.4032, allocations: 19.53 kB / 0.5248 GB, free: 30.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4032, allocations: 0 / 0.5248 GB, free: 30.18 MB / 378.7 MB Notification: Performance of Templates: time 0.004585/0.4078, allocations: 2.327 MB / 0.5271 GB, free: 29.93 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches