Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 105.3 kB / 17.03 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 194.9 kB / 17.96 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2346/0.2346, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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.001596/0.001596, allocations: 75.84 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1377, allocations: 57.78 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.004014/0.1418, allocations: 1.655 MB / 443.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000805/0.1426, allocations: 375.4 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.1427, allocations: 0 / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1431, allocations: 31.78 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1432, allocations: 39.78 kB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1436, allocations: 162.8 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1437, allocations: 87.77 kB / 444.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1438, allocations: 20.17 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.1439, allocations: 35.84 kB / 444.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.144, allocations: 43.77 kB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.144, allocations: 4 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1441, allocations: 55.98 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.1442, allocations: 19.91 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.1443, allocations: 35.8 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1444, allocations: 111.7 kB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1445, allocations: 4 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1445, allocations: 0 / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1445, allocations: 7.938 kB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005186/0.145, allocations: 411.1 kB / 445 MB, free: 3.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1451, allocations: 8.031 kB / 445 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.1451, allocations: 8.844 kB / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1453, allocations: 188.2 kB / 445.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1453, allocations: 8.375 kB / 445.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1453, allocations: 8.312 kB / 445.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.1456, allocations: 115.4 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1456, allocations: 3.938 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1456, allocations: 0 / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1456, allocations: 0 / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.1459, allocations: 83.91 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.1463, allocations: 324.7 kB / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1465, allocations: 82.45 kB / 445.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1467, allocations: 40.95 kB / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1467, allocations: 0 / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1468, allocations: 38.55 kB / 445.9 MB, free: 2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1468, allocations: 0 / 445.9 MB, free: 2 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001431/0.1482, allocations: 384.9 kB / 446.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.1483, allocations: 77.19 kB / 446.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1484, allocations: 146.4 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1484, allocations: 29.7 kB / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.1485, allocations: 100 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1485, allocations: 27.64 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.1486, allocations: 29.72 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.1487, allocations: 322.8 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.1489, allocations: 71.92 kB / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.1492, allocations: 97.69 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.1496, allocations: 152.6 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1496, allocations: 4.031 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004775/0.1501, allocations: 189.4 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1501, allocations: 4 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1501, allocations: 0 / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1501, allocations: 4 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1503, allocations: 35.95 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1504, allocations: 0 / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.1505, allocations: 32.28 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1505, allocations: 0 / 447.6 MB, free: 260 kB / 318.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.1506, allocations: 125.7 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1506, allocations: 15.81 kB / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005969/0.1512, allocations: 214.2 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1512, allocations: 3.938 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1512, allocations: 8 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1513, allocations: 3.938 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.1521, allocations: 490.3 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1521, allocations: 4 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.1523, allocations: 35.97 kB / 448.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1523, allocations: 3.984 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1523, allocations: 3.938 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1523, allocations: 0 / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1523, allocations: 7.938 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/0.1529, allocations: 291.6 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.153, allocations: 81.02 kB / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.153, allocations: 7.938 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1532, allocations: 23.97 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.1533, allocations: 11.98 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1533, allocations: 0 / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.584e-05/0.1534, allocations: 119.2 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1534, allocations: 0 / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1536, allocations: 32 kB / 449 MB, free: 14.69 MB / 334.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.1547, allocations: 459.5 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.1553, allocations: 167.8 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1553, allocations: 0 / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.1555, allocations: 83.91 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1559, allocations: 23.98 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.1564, allocations: 218 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1567, allocations: 0.7002 MB / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.921e-05/0.1568, allocations: 24.7 kB / 450.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.1568, allocations: 27.38 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1568, allocations: 0 / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Templates: time 0.004747/0.1616, allocations: 2.05 MB / 452.8 MB, free: 11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches