Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008721/0.0008721, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007644/0.0007645, allocations: 97.08 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2754/0.2754, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.000247, allocations: 11.98 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2616, allocations: 63.11 MB / 0.5214 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00146/0.2631, allocations: 1.34 MB / 0.5227 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.2638, allocations: 0.7353 MB / 0.5234 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.2639, allocations: 4 kB / 0.5234 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.2641, allocations: 93.02 kB / 0.5235 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.2643, allocations: 94.7 kB / 0.5236 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.2645, allocations: 83.17 kB / 0.5237 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2646, allocations: 95.55 kB / 0.5238 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.2647, allocations: 20.5 kB / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.2648, allocations: 36.28 kB / 0.5238 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.2649, allocations: 56.45 kB / 0.5239 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2649, allocations: 3.188 kB / 0.5239 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.265, allocations: 45.86 kB / 0.5239 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.265, allocations: 24.36 kB / 0.5239 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.2651, allocations: 57.73 kB / 0.524 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2652, allocations: 120 kB / 0.5241 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2652, allocations: 0 / 0.5241 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2652, allocations: 3.188 kB / 0.5241 GB, free: 36.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.2652, allocations: 0 / 0.5241 GB, free: 36.44 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003594/0.2656, allocations: 415.1 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2656, allocations: 8.719 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.2657, allocations: 17.97 kB / 0.5245 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2658, allocations: 208.6 kB / 0.5247 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2658, allocations: 7.281 kB / 0.5247 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.2659, allocations: 3.375 kB / 0.5247 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.266, allocations: 78.28 kB / 0.5248 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.266, allocations: 3.906 kB / 0.5248 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.266, allocations: 0 / 0.5248 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.266, allocations: 3.031 kB / 0.5248 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.2661, allocations: 45.98 kB / 0.5249 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.2664, allocations: 338.7 kB / 0.5252 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.2665, allocations: 63.72 kB / 0.5252 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.2666, allocations: 27.2 kB / 0.5253 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2666, allocations: 4.047 kB / 0.5253 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.2666, allocations: 41.14 kB / 0.5253 GB, free: 35.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2666, allocations: 0 / 0.5253 GB, free: 35.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008418/0.2675, allocations: 334 kB / 0.5256 GB, free: 35.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.2675, allocations: 51.41 kB / 0.5257 GB, free: 35.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2677, allocations: 235.4 kB / 0.5259 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.2677, allocations: 25.7 kB / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.2677, allocations: 119.1 kB / 0.526 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2678, allocations: 41.34 kB / 0.5261 GB, free: 34.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.2678, allocations: 2.844 kB / 0.5261 GB, free: 34.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.2678, allocations: 329.2 kB / 0.5264 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.2679, allocations: 37.67 kB / 0.5264 GB, free: 34.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.268, allocations: 44.16 kB / 0.5265 GB, free: 34.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2681, allocations: 99.77 kB / 0.5266 GB, free: 34.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2681, allocations: 0 / 0.5266 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001969/0.2683, allocations: 151.8 kB / 0.5267 GB, free: 34.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.2684, allocations: 3 kB / 0.5267 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2684, allocations: 0 / 0.5267 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2684, allocations: 6.781 kB / 0.5267 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2685, allocations: 34.5 kB / 0.5268 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2685, allocations: 0 / 0.5268 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.2686, allocations: 13.58 kB / 0.5268 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2686, allocations: 3.125 kB / 0.5268 GB, free: 34.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.337e-05/0.2686, allocations: 131.1 kB / 0.5269 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.2687, allocations: 13.06 kB / 0.5269 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.269, allocations: 172.2 kB / 0.5271 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.269, allocations: 7.875 kB / 0.5271 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.269, allocations: 2.625 kB / 0.5271 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.269, allocations: 0 / 0.5271 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.2694, allocations: 486.8 kB / 0.5276 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2694, allocations: 2.312 kB / 0.5276 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.2695, allocations: 29.97 kB / 0.5276 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2695, allocations: 4.031 kB / 0.5276 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2695, allocations: 6.562 kB / 0.5276 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2695, allocations: 0 / 0.5276 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2695, allocations: 2.531 kB / 0.5276 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.2698, allocations: 256.8 kB / 0.5278 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.2698, allocations: 90.92 kB / 0.5279 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.2698, allocations: 4 kB / 0.5279 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.2699, allocations: 8.641 kB / 0.5279 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.2699, allocations: 9.531 kB / 0.5279 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.2699, allocations: 6.719 kB / 0.528 GB, free: 33.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.888e-05/0.27, allocations: 187.3 kB / 0.5281 GB, free: 33.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.27, allocations: 0 / 0.5281 GB, free: 33.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.2703, allocations: 28.72 kB / 0.5282 GB, free: 33.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.000855/0.2711, allocations: 0.5104 MB / 0.5287 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.2714, allocations: 102.4 kB / 0.5288 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2714, allocations: 0 / 0.5288 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.2715, allocations: 61.48 kB / 0.5288 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.2718, allocations: 29.84 kB / 0.5288 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.2722, allocations: 355.5 kB / 0.5292 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.2724, allocations: 0.7184 MB / 0.5299 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.2724, allocations: 12.09 kB / 0.5299 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.2725, allocations: 19.28 kB / 0.5299 GB, free: 32 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2725, allocations: 0 / 0.5299 GB, free: 32 MB / 378.7 MB Notification: Performance of Templates: time 0.003262/0.2757, allocations: 1.459 MB / 0.5313 GB, free: 31.82 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches