Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009306/0.0009307, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008296/0.0008299, allocations: 88.05 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1768/0.1768, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.624e-05, allocations: 224 / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4476, allocations: 87.98 MB / 0.5876 GB, free: 1.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4478, allocations: 71.95 kB / 0.5877 GB, free: 1.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009497/0.4573, allocations: 3.769 MB / 0.5914 GB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4574, allocations: 0 / 0.5914 GB, free: 13.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4574, allocations: 0 / 0.5914 GB, free: 13.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003393/0.4577, allocations: 378.3 kB / 0.5917 GB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4578, allocations: 12.03 kB / 0.5917 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.4578, allocations: 11.84 kB / 0.5918 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.458, allocations: 196.8 kB / 0.5919 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4581, allocations: 3.953 kB / 0.5919 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.4581, allocations: 4 kB / 0.5919 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.4582, allocations: 49.69 kB / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4582, allocations: 0 / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4582, allocations: 0 / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4582, allocations: 0 / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.4583, allocations: 19.94 kB / 0.592 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.4586, allocations: 284.9 kB / 0.5923 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.4588, allocations: 38.58 kB / 0.5923 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.4588, allocations: 24.88 kB / 0.5923 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.4589, allocations: 0 / 0.5923 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.4589, allocations: 34.5 kB / 0.5924 GB, free: 12.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4589, allocations: 0 / 0.5924 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003447/0.4592, allocations: 113.4 kB / 0.5925 GB, free: 12.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.4593, allocations: 55.41 kB / 0.5925 GB, free: 12.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4594, allocations: 154.8 kB / 0.5927 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.4594, allocations: 25.7 kB / 0.5927 GB, free: 11.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.4595, allocations: 96.08 kB / 0.5928 GB, free: 11.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4595, allocations: 23.7 kB / 0.5928 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.4595, allocations: 0 / 0.5928 GB, free: 11.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.4596, allocations: 322.8 kB / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.4597, allocations: 12 kB / 0.5931 GB, free: 11.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.4597, allocations: 15.98 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.4597, allocations: 12 kB / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4597, allocations: 0 / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.487e-05/0.4598, allocations: 69.59 kB / 0.5932 GB, free: 11.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4598, allocations: 8 kB / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4599, allocations: 0 / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4599, allocations: 0 / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.4599, allocations: 15.98 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.46, allocations: 3.938 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.46, allocations: 11.98 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.46, allocations: 4 kB / 0.5933 GB, free: 11.32 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.4601, allocations: 104.9 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.4601, allocations: 7.906 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.4603, allocations: 81.75 kB / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4603, allocations: 0 / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4603, allocations: 0 / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4603, allocations: 4 kB / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.4606, allocations: 354.8 kB / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4606, allocations: 4 kB / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.4607, allocations: 15.98 kB / 0.5938 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4607, allocations: 4 kB / 0.5938 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.4607, allocations: 4 kB / 0.5938 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4607, allocations: 3.938 kB / 0.5938 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4607, allocations: 0 / 0.5938 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.4608, allocations: 171.3 kB / 0.594 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.4609, allocations: 89 kB / 0.5941 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.4609, allocations: 4 kB / 0.5941 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.461, allocations: 4 kB / 0.5941 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.461, allocations: 12.12 kB / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.461, allocations: 0 / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.107e-05/0.4611, allocations: 125.5 kB / 0.5942 GB, free: 10.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4611, allocations: 4 kB / 0.5942 GB, free: 10.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.4614, allocations: 19.94 kB / 0.5942 GB, free: 10.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007296/0.4621, allocations: 363.8 kB / 0.5946 GB, free: 9.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.4622, allocations: 39.92 kB / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4622, allocations: 0 / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.4623, allocations: 20 kB / 0.5947 GB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.4625, allocations: 11.92 kB / 0.5947 GB, free: 9.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.4627, allocations: 137.9 kB / 0.5948 GB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.463, allocations: 0.6965 MB / 0.5955 GB, free: 9.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.463, allocations: 16.17 kB / 0.5955 GB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.4631, allocations: 15.44 kB / 0.5955 GB, free: 8.988 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4631, allocations: 0 / 0.5955 GB, free: 8.988 MB / 410.7 MB Notification: Performance of Templates: time 0.002801/0.4659, allocations: 1.092 MB / 0.5966 GB, free: 7.898 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches