Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 197.4 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007537/0.0007538, allocations: 96.86 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4028/0.4028, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003246, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4358, allocations: 62.95 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.57, allocations: 91.37 MB / 0.6077 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5703, allocations: 75.94 kB / 0.6077 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0273/0.5976, allocations: 10.31 MB / 0.6178 GB, free: 3.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5976, allocations: 3.938 kB / 0.6178 GB, free: 3.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.899e-05/0.5977, allocations: 8 kB / 0.6178 GB, free: 3.508 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001226/0.5989, allocations: 0.7943 MB / 0.6186 GB, free: 2.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.599, allocations: 12.03 kB / 0.6186 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.5993, allocations: 80.16 kB / 0.6187 GB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.6002, allocations: 0.5161 MB / 0.6192 GB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6002, allocations: 12.38 kB / 0.6192 GB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.6003, allocations: 12.38 kB / 0.6192 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.6006, allocations: 154.7 kB / 0.6193 GB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.6006, allocations: 4.094 kB / 0.6193 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.6006, allocations: 7.938 kB / 0.6194 GB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6006, allocations: 4 kB / 0.6194 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.6009, allocations: 114.7 kB / 0.6195 GB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.6022, allocations: 0.7389 MB / 0.6202 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.6024, allocations: 109.2 kB / 0.6203 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.6025, allocations: 57.75 kB / 0.6203 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.6026, allocations: 8 kB / 0.6204 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.6026, allocations: 34.56 kB / 0.6204 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.6026, allocations: 0 / 0.6204 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001597/0.6042, allocations: 0.5996 MB / 0.621 GB, free: 68 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.6043, allocations: 77.11 kB / 0.621 GB, free: 15.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.6056, allocations: 0.9141 MB / 0.6219 GB, free: 15.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.6056, allocations: 29.7 kB / 0.622 GB, free: 15.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.6058, allocations: 268.3 kB / 0.6222 GB, free: 14.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.6059, allocations: 59.17 kB / 0.6223 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.6059, allocations: 4 kB / 0.6223 GB, free: 14.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.6061, allocations: 370.8 kB / 0.6226 GB, free: 14.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.6063, allocations: 67.95 kB / 0.6227 GB, free: 14.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.6064, allocations: 93.66 kB / 0.6228 GB, free: 14.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.6068, allocations: 177.7 kB / 0.623 GB, free: 13.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6068, allocations: 0 / 0.623 GB, free: 13.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005311/0.6073, allocations: 264.8 kB / 0.6232 GB, free: 13.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6074, allocations: 11.94 kB / 0.6232 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6074, allocations: 0 / 0.6232 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6074, allocations: 0 / 0.6232 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.6076, allocations: 39.97 kB / 0.6233 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6077, allocations: 0 / 0.6233 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.6078, allocations: 27.98 kB / 0.6233 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.6078, allocations: 4.219 kB / 0.6233 GB, free: 13.62 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0002326/0.6081, allocations: 213.7 kB / 0.6235 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.6082, allocations: 67.12 kB / 0.6236 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006335/0.6089, allocations: 314.6 kB / 0.6239 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6089, allocations: 0 / 0.6239 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6089, allocations: 8 kB / 0.6239 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.6089, allocations: 3.984 kB / 0.6239 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.6102, allocations: 0.8957 MB / 0.6247 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6102, allocations: 3.984 kB / 0.6248 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.6104, allocations: 35.98 kB / 0.6248 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.6104, allocations: 3.984 kB / 0.6248 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.6104, allocations: 8 kB / 0.6248 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6104, allocations: 11.88 kB / 0.6248 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6104, allocations: 0 / 0.6248 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.611, allocations: 439.9 kB / 0.6252 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.6112, allocations: 188.3 kB / 0.6254 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.6113, allocations: 4 kB / 0.6254 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.6115, allocations: 16 kB / 0.6254 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.6115, allocations: 11.97 kB / 0.6254 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.6116, allocations: 11.94 kB / 0.6255 GB, free: 11.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008382/0.6124, allocations: 0.6669 MB / 0.6261 GB, free: 10.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6124, allocations: 4 kB / 0.6261 GB, free: 10.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.6128, allocations: 75.94 kB / 0.6262 GB, free: 10.55 MB / 442.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 (16): * Single equations (assignments): 16 * 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.0009463/0.6138, allocations: 411.6 kB / 0.6266 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.6142, allocations: 175.8 kB / 0.6267 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6142, allocations: 0 / 0.6267 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.6145, allocations: 100.3 kB / 0.6268 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.6151, allocations: 71.09 kB / 0.6269 GB, free: 9.949 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.6167, allocations: 1.043 MB / 0.6279 GB, free: 8.871 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.6171, allocations: 0.8771 MB / 0.6288 GB, free: 7.973 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.6174, allocations: 115.1 kB / 0.6289 GB, free: 7.863 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6175, allocations: 43.42 kB / 0.6289 GB, free: 7.82 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6176, allocations: 0 / 0.6289 GB, free: 7.82 MB / 442.7 MB Notification: Performance of Templates: time 0.00916/0.6267, allocations: 4.48 MB / 0.6333 GB, free: 3.352 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches