Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 183.5 kB / 18.09 MB, free: 3.633 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.246/1.246, allocations: 223.3 MB / 242.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007753/0.0007753, allocations: 104.6 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2746/0.2746, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 20 kB / 461.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.262, allocations: 61.87 MB / 0.5107 GB, free: 37.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09938/0.3614, allocations: 89.28 MB / 0.5979 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.3616, allocations: 75.95 kB / 0.598 GB, free: 5.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01398/0.3756, allocations: 5.389 MB / 0.6033 GB, free: 364 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3757, allocations: 0 / 0.6033 GB, free: 364 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3757, allocations: 7.938 kB / 0.6033 GB, free: 356 kB / 410.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.0005168/0.3762, allocations: 399.2 kB / 0.6036 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3763, allocations: 12.03 kB / 0.6037 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.3763, allocations: 12.75 kB / 0.6037 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3766, allocations: 219 kB / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3766, allocations: 384 / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3767, allocations: 12.36 kB / 0.6039 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3768, allocations: 61.8 kB / 0.6039 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3768, allocations: 0 / 0.6039 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3768, allocations: 0 / 0.6039 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3769, allocations: 4 kB / 0.6039 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.3769, allocations: 15.98 kB / 0.604 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3773, allocations: 288.8 kB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.3775, allocations: 70.61 kB / 0.6043 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.3776, allocations: 20.84 kB / 0.6043 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3776, allocations: 4 kB / 0.6043 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.3777, allocations: 63.39 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.3777, allocations: 0 / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005373/0.3783, allocations: 169.3 kB / 0.6045 GB, free: 14.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3783, allocations: 59.41 kB / 0.6046 GB, free: 14.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3785, allocations: 162.3 kB / 0.6048 GB, free: 14.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3785, allocations: 29.7 kB / 0.6048 GB, free: 14.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.3786, allocations: 100.1 kB / 0.6049 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3786, allocations: 31.62 kB / 0.6049 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.3786, allocations: 7.938 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3788, allocations: 318.8 kB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.3788, allocations: 19.98 kB / 0.6052 GB, free: 14.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.128e-05/0.3789, allocations: 37.7 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.379, allocations: 61.89 kB / 0.6053 GB, free: 13.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.379, allocations: 0 / 0.6053 GB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.3792, allocations: 101.5 kB / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3792, allocations: 8 kB / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3793, allocations: 0 / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3793, allocations: 4.031 kB / 0.6054 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.3794, allocations: 12 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3794, allocations: 11.92 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.3794, allocations: 3.938 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3794, allocations: 4 kB / 0.6055 GB, free: 13.83 MB / 426.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.84e-05/0.3795, allocations: 121.8 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.3796, allocations: 7.906 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.3798, allocations: 138.4 kB / 0.6057 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3798, allocations: 0 / 0.6057 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3798, allocations: 0 / 0.6057 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3799, allocations: 3.938 kB / 0.6057 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.3803, allocations: 399.2 kB / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3803, allocations: 3.984 kB / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.3804, allocations: 8 kB / 0.6061 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3804, allocations: 7.938 kB / 0.6061 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3804, allocations: 4.031 kB / 0.6061 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3804, allocations: 4 kB / 0.6061 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3804, allocations: 4 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.3806, allocations: 212.8 kB / 0.6064 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3807, allocations: 85.02 kB / 0.6064 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3807, allocations: 11.94 kB / 0.6064 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.3808, allocations: 7.984 kB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3809, allocations: 8 kB / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3809, allocations: 4 kB / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.204e-05/0.381, allocations: 129.1 kB / 0.6066 GB, free: 12.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.381, allocations: 4 kB / 0.6066 GB, free: 12.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.3812, allocations: 31.92 kB / 0.6066 GB, free: 12.55 MB / 426.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009984/0.3822, allocations: 475 kB / 0.6071 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.3824, allocations: 63.91 kB / 0.6071 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3825, allocations: 0 / 0.6071 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.3825, allocations: 35.97 kB / 0.6072 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3829, allocations: 23.92 kB / 0.6072 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.3833, allocations: 226.2 kB / 0.6074 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3836, allocations: 0.7121 MB / 0.6081 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.778e-05/0.3836, allocations: 20.84 kB / 0.6081 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.3837, allocations: 11.44 kB / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3837, allocations: 0 / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of Templates: time 0.004093/0.3878, allocations: 1.642 MB / 0.6097 GB, free: 9.5 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches