Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001921/0.001921, allocations: 183.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009696/0.0009696, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2358/0.2358, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.5716, allocations: 87.23 MB / 0.5639 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5719, allocations: 72.5 kB / 0.564 GB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.583, allocations: 4.221 MB / 0.5681 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.583, allocations: 0 / 0.5681 GB, free: 8.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.583, allocations: 3.938 kB / 0.5681 GB, free: 8.973 MB / 378.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.0004979/0.5835, allocations: 409.4 kB / 0.5685 GB, free: 8.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.5836, allocations: 12.02 kB / 0.5685 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.5837, allocations: 15.84 kB / 0.5685 GB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.5839, allocations: 194.9 kB / 0.5687 GB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.584, allocations: 6.938 kB / 0.5687 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.584, allocations: 0 / 0.5687 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.5842, allocations: 64.11 kB / 0.5688 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5842, allocations: 15.17 kB / 0.5688 GB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.5842, allocations: 0 / 0.5688 GB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5843, allocations: 0 / 0.5688 GB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.5844, allocations: 46.7 kB / 0.5689 GB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.5849, allocations: 325.5 kB / 0.5692 GB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.5851, allocations: 54.11 kB / 0.5692 GB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.5851, allocations: 0 / 0.5692 GB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.5851, allocations: 34.56 kB / 0.5693 GB, free: 7.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.5851, allocations: 7.938 kB / 0.5693 GB, free: 7.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008518/0.586, allocations: 258.1 kB / 0.5695 GB, free: 7.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.5861, allocations: 55.41 kB / 0.5696 GB, free: 7.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.5862, allocations: 155.8 kB / 0.5697 GB, free: 7.266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.5863, allocations: 25.7 kB / 0.5697 GB, free: 7.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.5863, allocations: 106.7 kB / 0.5698 GB, free: 7.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.5864, allocations: 23.33 kB / 0.5699 GB, free: 7.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.5864, allocations: 4 kB / 0.5699 GB, free: 7.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5865, allocations: 322 kB / 0.5702 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5866, allocations: 47.28 kB / 0.5702 GB, free: 6.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.5868, allocations: 43.66 kB / 0.5703 GB, free: 6.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.5869, allocations: 54.47 kB / 0.5703 GB, free: 6.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5869, allocations: 0 / 0.5703 GB, free: 6.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003117/0.5872, allocations: 151.6 kB / 0.5705 GB, free: 6.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5872, allocations: 7.438 kB / 0.5705 GB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5873, allocations: 80 / 0.5705 GB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.5873, allocations: 3.953 kB / 0.5705 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.5874, allocations: 23.98 kB / 0.5705 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.5875, allocations: 3.984 kB / 0.5705 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.5875, allocations: 15.98 kB / 0.5705 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.5876, allocations: 4 kB / 0.5705 GB, free: 6.484 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0001347/0.5877, allocations: 128.8 kB / 0.5706 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.5877, allocations: 7.906 kB / 0.5706 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.5881, allocations: 158.9 kB / 0.5708 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5881, allocations: 0 / 0.5708 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5882, allocations: 3.953 kB / 0.5708 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5882, allocations: 0 / 0.5708 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.5888, allocations: 437.3 kB / 0.5712 GB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5888, allocations: 0 / 0.5712 GB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.5889, allocations: 27.98 kB / 0.5712 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5889, allocations: 0 / 0.5712 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5889, allocations: 3.953 kB / 0.5712 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5889, allocations: 4 kB / 0.5712 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5889, allocations: 0 / 0.5712 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.5893, allocations: 239.6 kB / 0.5715 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.5894, allocations: 100.4 kB / 0.5716 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.5894, allocations: 0 / 0.5716 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.5895, allocations: 19.94 kB / 0.5716 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.5896, allocations: 4 kB / 0.5716 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.5896, allocations: 7.188 kB / 0.5716 GB, free: 5.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.5897, allocations: 133.4 kB / 0.5717 GB, free: 5.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5897, allocations: 0 / 0.5717 GB, free: 5.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.59, allocations: 27.38 kB / 0.5718 GB, free: 5.223 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001004/0.591, allocations: 404 kB / 0.5721 GB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.5913, allocations: 108 kB / 0.5722 GB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.5913, allocations: 0 / 0.5722 GB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.5914, allocations: 65.66 kB / 0.5723 GB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.5917, allocations: 18.61 kB / 0.5723 GB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.5922, allocations: 242.9 kB / 0.5726 GB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.5925, allocations: 0.7119 MB / 0.5732 GB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.143e-05/0.5926, allocations: 20.95 kB / 0.5733 GB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.5927, allocations: 23.42 kB / 0.5733 GB, free: 3.695 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5927, allocations: 0 / 0.5733 GB, free: 3.695 MB / 378.7 MB Notification: Performance of Templates: time 0.003875/0.5965, allocations: 1.246 MB / 0.5745 GB, free: 2.465 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches