Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 171.3 kB / 16.57 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4342/0.4342, allocations: 43.57 MB / 314.6 MB, free: 8.789 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005827/0.0005827, allocations: 12 kB / 383.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001976/0.1365, allocations: 1.271 MB / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005644/0.1371, allocations: 299.9 kB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.1372, allocations: 4 kB / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.1377, allocations: 439.2 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.138, allocations: 235.6 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.1384, allocations: 147.7 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1386, allocations: 131.7 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1387, allocations: 7.984 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1388, allocations: 95.8 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.139, allocations: 167.7 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.139, allocations: 4 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.1391, allocations: 11.98 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1392, allocations: 91.67 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.1392, allocations: 61.52 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1394, allocations: 176 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1395, allocations: 4 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1395, allocations: 0 / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1395, allocations: 3.938 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006614/0.1401, allocations: 0.5909 MB / 446.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1402, allocations: 8.031 kB / 446.5 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.1403, allocations: 43.48 kB / 446.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1405, allocations: 271.3 kB / 446.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1406, allocations: 4 kB / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1406, allocations: 4 kB / 446.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1407, allocations: 53.67 kB / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1408, allocations: 0 / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1408, allocations: 4 kB / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1408, allocations: 0 / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.1409, allocations: 39.92 kB / 446.9 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.1414, allocations: 380.7 kB / 447.3 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.489e-05/0.1415, allocations: 38.56 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.1416, allocations: 20.91 kB / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1416, allocations: 0 / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1416, allocations: 34.52 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1416, allocations: 4 kB / 447.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002675/0.1419, allocations: 109 kB / 447.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.142, allocations: 55.41 kB / 447.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.1428, allocations: 0.8613 MB / 448.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1428, allocations: 25.7 kB / 448.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.143, allocations: 220 kB / 448.7 MB, free: 6.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.143, allocations: 3.906 kB / 448.7 MB, free: 6.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.143, allocations: 0 / 448.7 MB, free: 6.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1431, allocations: 370.9 kB / 449 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.1432, allocations: 4 kB / 449 MB, free: 6.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.1432, allocations: 15.98 kB / 449 MB, free: 6.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.1433, allocations: 12 kB / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1433, allocations: 0 / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001508/0.1434, allocations: 101.2 kB / 449.2 MB, free: 6.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1435, allocations: 4 kB / 449.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1435, allocations: 3.953 kB / 449.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1435, allocations: 4 kB / 449.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.1436, allocations: 8 kB / 449.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1436, allocations: 0 / 449.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.1436, allocations: 7.984 kB / 449.2 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1436, allocations: 0 / 449.2 MB, free: 6.406 MB / 382.1 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 (2): * Single equations (assignments): 2 * 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.0001845/0.1438, allocations: 217.8 kB / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.1439, allocations: 39.44 kB / 449.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.1441, allocations: 116.6 kB / 449.6 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1441, allocations: 7.891 kB / 449.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1441, allocations: 3.938 kB / 449.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1441, allocations: 4 kB / 449.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1444, allocations: 277.6 kB / 449.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1444, allocations: 4 kB / 449.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.1444, allocations: 4 kB / 449.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1445, allocations: 0 / 449.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1445, allocations: 4 kB / 449.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1445, allocations: 0 / 449.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1445, allocations: 3.953 kB / 449.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1447, allocations: 195 kB / 450 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.1447, allocations: 108.6 kB / 450.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1448, allocations: 0 / 450.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.1448, allocations: 7.984 kB / 450.2 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1449, allocations: 3.953 kB / 450.2 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1449, allocations: 0 / 450.2 MB, free: 5.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005879/0.1455, allocations: 0.6511 MB / 450.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1455, allocations: 7.875 kB / 450.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1457, allocations: 24.03 kB / 450.8 MB, free: 4.648 MB / 382.1 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 (2): * Single equations (assignments): 2 * 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.0008405/0.1466, allocations: 340 kB / 451.2 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1467, allocations: 31.98 kB / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1467, allocations: 0 / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.1468, allocations: 8 kB / 451.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1472, allocations: 33.94 kB / 451.2 MB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1482, allocations: 0.7977 MB / 452 MB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1486, allocations: 0.8262 MB / 452.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.427e-05/0.1487, allocations: 16.09 kB / 452.9 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.1487, allocations: 11.44 kB / 452.9 MB, free: 2.562 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1487, allocations: 3.938 kB / 452.9 MB, free: 2.559 MB / 382.1 MB Notification: Performance of Templates: time 0.00424/0.1529, allocations: 1.154 MB / 454.1 MB, free: 1.402 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches