Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 177.7 kB / 17.06 MB, free: 5.098 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.214/1.214, allocations: 223.2 MB / 241 MB, free: 11.84 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.0008644/0.0008647, allocations: 95.52 kB / 292.2 MB, free: 10.9 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.2855/0.2855, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004197, allocations: 16 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3267, allocations: 61.89 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.4292, allocations: 88.16 MB / 0.5957 GB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4295, allocations: 75.94 kB / 0.5957 GB, free: 6.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.44, allocations: 4.516 MB / 0.6001 GB, free: 2.367 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4401, allocations: 0 / 0.6001 GB, free: 2.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.4401, allocations: 8 kB / 0.6001 GB, free: 2.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003989/0.4405, allocations: 430.7 kB / 0.6006 GB, free: 1.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4405, allocations: 8.562 kB / 0.6006 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.4406, allocations: 15.81 kB / 0.6006 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.4408, allocations: 206.8 kB / 0.6008 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4408, allocations: 15.94 kB / 0.6008 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.4408, allocations: 3.906 kB / 0.6008 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.441, allocations: 53.69 kB / 0.6009 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.441, allocations: 3.984 kB / 0.6009 GB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.441, allocations: 7.984 kB / 0.6009 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.441, allocations: 0 / 0.6009 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.599e-05/0.4411, allocations: 35.86 kB / 0.6009 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.4415, allocations: 316.8 kB / 0.6012 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.4416, allocations: 50.55 kB / 0.6012 GB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.4416, allocations: 3.938 kB / 0.6013 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.4417, allocations: 30.56 kB / 0.6013 GB, free: 1.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4417, allocations: 0 / 0.6013 GB, free: 1.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008212/0.4425, allocations: 285 kB / 0.6016 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.4425, allocations: 51.41 kB / 0.6016 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.4428, allocations: 242.2 kB / 0.6018 GB, free: 464 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.4428, allocations: 25.7 kB / 0.6019 GB, free: 432 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.4429, allocations: 112.1 kB / 0.602 GB, free: 316 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.4429, allocations: 31.55 kB / 0.602 GB, free: 284 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.4429, allocations: 4 kB / 0.602 GB, free: 280 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.443, allocations: 330.8 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.4431, allocations: 35.97 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.4432, allocations: 27.98 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.731e-05/0.4433, allocations: 39.98 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4433, allocations: 3.984 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002027/0.4435, allocations: 117.5 kB / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.4435, allocations: 4 kB / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.4435, allocations: 0 / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.4436, allocations: 8 kB / 0.6025 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.4437, allocations: 19.98 kB / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4437, allocations: 0 / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.4437, allocations: 8 kB / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.4437, allocations: 11.94 kB / 0.6026 GB, free: 15.66 MB / 426.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 (8): * Single equations (assignments): 8 * 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.28e-05/0.4438, allocations: 137.8 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.4439, allocations: 11.81 kB / 0.6027 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.4442, allocations: 147 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.4442, allocations: 4 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4442, allocations: 0 / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.4442, allocations: 0 / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.4447, allocations: 471.5 kB / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4447, allocations: 0 / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.4448, allocations: 19.98 kB / 0.6033 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4448, allocations: 4 kB / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4448, allocations: 4.031 kB / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4448, allocations: 4 kB / 0.6033 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4449, allocations: 3.953 kB / 0.6033 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4451, allocations: 241.8 kB / 0.6036 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.4452, allocations: 89.44 kB / 0.6037 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.4452, allocations: 8 kB / 0.6037 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.4453, allocations: 15.88 kB / 0.6037 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.4453, allocations: 4 kB / 0.6037 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.4454, allocations: 7.984 kB / 0.6037 GB, free: 14.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.4455, allocations: 193 kB / 0.6039 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4455, allocations: 0 / 0.6039 GB, free: 14.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.4458, allocations: 43.92 kB / 0.6039 GB, free: 14.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008809/0.4467, allocations: 466.3 kB / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.4469, allocations: 83.95 kB / 0.6044 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4469, allocations: 0 / 0.6044 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/0.447, allocations: 43.92 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.4472, allocations: 16.17 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.4477, allocations: 342.8 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4479, allocations: 0.7199 MB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.448, allocations: 24.95 kB / 0.6056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.4481, allocations: 19.44 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4481, allocations: 3.938 kB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of Templates: time 0.003311/0.4514, allocations: 1.493 MB / 0.607 GB, free: 11.1 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches