Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.204/1.204, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008616/0.0008616, allocations: 94.64 kB / 292.2 MB, free: 10.91 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.2942/0.2942, allocations: 44.23 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3096, allocations: 61.89 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.4196, allocations: 88.16 MB / 0.5957 GB, free: 6.984 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4199, allocations: 75.92 kB / 0.5957 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.4307, allocations: 4.516 MB / 0.6001 GB, free: 2.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4308, allocations: 7.938 kB / 0.6001 GB, free: 2.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.4308, allocations: 8 kB / 0.6002 GB, free: 2.379 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.0004674/0.4313, allocations: 418.7 kB / 0.6005 GB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4313, allocations: 16.55 kB / 0.6006 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.4314, allocations: 11.81 kB / 0.6006 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.4316, allocations: 206.9 kB / 0.6008 GB, free: 1.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4317, allocations: 7.891 kB / 0.6008 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.4317, allocations: 11.91 kB / 0.6008 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.4318, allocations: 57.66 kB / 0.6008 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4319, allocations: 0 / 0.6008 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.4319, allocations: 8 kB / 0.6009 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4319, allocations: 3.938 kB / 0.6009 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.432, allocations: 31.97 kB / 0.6009 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.4324, allocations: 320.8 kB / 0.6012 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.4325, allocations: 50.5 kB / 0.6012 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4325, allocations: 0 / 0.6012 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.4326, allocations: 34.56 kB / 0.6013 GB, free: 1.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.4326, allocations: 0 / 0.6013 GB, free: 1.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008503/0.4334, allocations: 280.9 kB / 0.6015 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.4335, allocations: 51.41 kB / 0.6016 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.4337, allocations: 242.2 kB / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4337, allocations: 25.7 kB / 0.6018 GB, free: 460 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.4338, allocations: 112.1 kB / 0.602 GB, free: 344 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.4338, allocations: 31.56 kB / 0.602 GB, free: 312 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4338, allocations: 0 / 0.602 GB, free: 312 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.434, allocations: 334.8 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.4341, allocations: 31.98 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.4341, allocations: 36.03 kB / 0.6024 GB, free: 15.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.912e-05/0.4342, allocations: 43.98 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4342, allocations: 0 / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002095/0.4344, allocations: 117.5 kB / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4345, allocations: 6.188 kB / 0.6025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4345, allocations: 0 / 0.6025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.4345, allocations: 4 kB / 0.6025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.4346, allocations: 19.98 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4346, allocations: 4 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.4347, allocations: 12 kB / 0.6026 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4347, allocations: 3.984 kB / 0.6026 GB, free: 15.69 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.241e-05/0.4348, allocations: 141.7 kB / 0.6027 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.4348, allocations: 15.81 kB / 0.6027 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4351, allocations: 143.3 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4351, allocations: 0 / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4351, allocations: 0 / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4351, allocations: 3.984 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.4357, allocations: 467.1 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4357, allocations: 0 / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.4358, allocations: 19.98 kB / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4358, allocations: 0 / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4358, allocations: 8.031 kB / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4358, allocations: 4 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4358, allocations: 11.88 kB / 0.6034 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.4361, allocations: 233.9 kB / 0.6036 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.4361, allocations: 97 kB / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.4362, allocations: 4 kB / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.4362, allocations: 11.95 kB / 0.6037 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.4363, allocations: 7.922 kB / 0.6037 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.4363, allocations: 4 kB / 0.6037 GB, free: 14.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.4365, allocations: 197 kB / 0.6039 GB, free: 14.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4365, allocations: 0 / 0.6039 GB, free: 14.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000245/0.4367, allocations: 39.94 kB / 0.6039 GB, free: 14.2 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.0009374/0.4377, allocations: 463 kB / 0.6044 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.4379, allocations: 83.94 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4379, allocations: 0 / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.438, allocations: 47.91 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.4382, allocations: 16.12 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.4387, allocations: 342.8 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.439, allocations: 0.7238 MB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.343e-05/0.439, allocations: 24.95 kB / 0.6056 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.4391, allocations: 23.42 kB / 0.6056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4391, allocations: 0 / 0.6056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Templates: time 0.003451/0.4426, allocations: 1.497 MB / 0.607 GB, free: 11.12 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches