Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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 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 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) 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.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001165/0.001165, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2132/0.2132, allocations: 44.17 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001338, allocations: 60.94 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 60.84 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.00376/0.1395, allocations: 1.567 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000963/0.1405, allocations: 407.2 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.1407, allocations: 0 / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.141, allocations: 79.77 kB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.1414, allocations: 63.73 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1418, allocations: 91.69 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.142, allocations: 75.81 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1422, allocations: 24.16 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.1423, allocations: 31.86 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1424, allocations: 55.81 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1424, allocations: 0 / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1426, allocations: 43.98 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.1427, allocations: 23.91 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.1427, allocations: 31.75 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.143, allocations: 95.64 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.143, allocations: 0 / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.143, allocations: 8 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.143, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 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.0006048/0.1436, allocations: 403 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.095e-05/0.1437, allocations: 12.03 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.1438, allocations: 8.844 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.144, allocations: 192.1 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1441, allocations: 8.312 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1441, allocations: 4.375 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1443, allocations: 57.62 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.1443, allocations: 7.906 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1443, allocations: 4 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1443, allocations: 0 / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1445, allocations: 31.95 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.1449, allocations: 288.8 kB / 474.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.145, allocations: 42.56 kB / 474.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.1451, allocations: 20.94 kB / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1451, allocations: 0 / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1452, allocations: 34.56 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1452, allocations: 0 / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009315/0.1461, allocations: 225 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1462, allocations: 51.41 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1464, allocations: 218 kB / 474.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1464, allocations: 29.7 kB / 474.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.1465, allocations: 104 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.1465, allocations: 27.72 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.1466, allocations: 21.72 kB / 475 MB, free: 9.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1467, allocations: 322.8 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.1468, allocations: 27.97 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.1469, allocations: 23.98 kB / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.147, allocations: 60.83 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.147, allocations: 0 / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001974/0.1472, allocations: 105.4 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1473, allocations: 8 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1473, allocations: 0 / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1473, allocations: 3.938 kB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.1474, allocations: 15.98 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1474, allocations: 3.938 kB / 475.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.1475, allocations: 7.984 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1475, allocations: 4 kB / 475.6 MB, free: 8.52 MB / 350.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 0.0001013/0.1476, allocations: 125.8 kB / 475.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.1476, allocations: 12.33 kB / 475.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1479, allocations: 122.3 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1479, allocations: 0 / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1479, allocations: 3.938 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.148, allocations: 3.984 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.1485, allocations: 403.6 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1485, allocations: 0 / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.1486, allocations: 19.92 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1486, allocations: 4 kB / 476.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1486, allocations: 4 kB / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1486, allocations: 0 / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1486, allocations: 3.938 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1489, allocations: 212.3 kB / 476.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.1489, allocations: 88.95 kB / 476.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1489, allocations: 4 kB / 476.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.149, allocations: 7.984 kB / 476.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1491, allocations: 4 kB / 476.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1491, allocations: 4 kB / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1492, allocations: 155.2 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1492, allocations: 4 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1495, allocations: 23.98 kB / 476.8 MB, free: 7.227 MB / 350.1 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 (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.001043/0.1505, allocations: 457.5 kB / 477.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1508, allocations: 67.89 kB / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1508, allocations: 0 / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.1509, allocations: 35.92 kB / 477.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.1512, allocations: 27.02 kB / 477.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.1518, allocations: 243.1 kB / 477.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1521, allocations: 0.7041 MB / 478.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1521, allocations: 16.95 kB / 478.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1522, allocations: 11.44 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1522, allocations: 0 / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of Templates: time 0.004021/0.1562, allocations: 1.316 MB / 479.7 MB, free: 4.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches