Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 104 kB / 17.63 MB, free: 5.523 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.001056/0.001056, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.302/1.302, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2104/0.2104, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 65.11 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1441, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003196/0.1473, allocations: 1.572 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00072/0.1481, allocations: 415.3 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.1481, allocations: 0 / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1484, allocations: 111.7 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1486, allocations: 79.72 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1489, allocations: 118.2 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1491, allocations: 71.88 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1492, allocations: 16.17 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.1493, allocations: 47.83 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1494, allocations: 55.89 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1495, allocations: 4 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1496, allocations: 51.91 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.1497, allocations: 23.86 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.1497, allocations: 31.75 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1499, allocations: 104 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1499, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1499, allocations: 3.938 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.15, allocations: 4 kB / 471.9 MB, free: 11.67 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.0005362/0.1505, allocations: 422.8 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1506, allocations: 12.03 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1506, allocations: 16.75 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1508, allocations: 200 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1509, allocations: 4.375 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1509, allocations: 8.359 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1511, allocations: 53.62 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1511, allocations: 0 / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1511, allocations: 11.98 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1511, allocations: 0 / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1513, allocations: 27.97 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.1518, allocations: 308.7 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1519, allocations: 38.56 kB / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.152, allocations: 24.94 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.152, allocations: 80 / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.1521, allocations: 34.56 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1521, allocations: 0 / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001/0.1531, allocations: 248.9 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1531, allocations: 55.39 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.1534, allocations: 247.3 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1534, allocations: 25.7 kB / 473.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.1535, allocations: 108.1 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1536, allocations: 23.56 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1536, allocations: 25.7 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1538, allocations: 330.8 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.1538, allocations: 23.98 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.1539, allocations: 31.97 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1541, allocations: 68.83 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1541, allocations: 4 kB / 474.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002078/0.1543, allocations: 113.5 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1543, allocations: 12 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1544, allocations: 3.984 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1544, allocations: 0 / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.1545, allocations: 12 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1545, allocations: 7.938 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.1545, allocations: 7.984 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1545, allocations: 4 kB / 474.4 MB, free: 8.977 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 9.822e-05/0.1547, allocations: 129.8 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1547, allocations: 19.81 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.155, allocations: 131 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.155, allocations: 0 / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.155, allocations: 3.938 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.155, allocations: 3.938 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.1555, allocations: 431.6 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1556, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.1556, allocations: 19.92 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1556, allocations: 4 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1557, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1557, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1557, allocations: 0 / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1559, allocations: 220.3 kB / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.156, allocations: 89.28 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.156, allocations: 8 kB / 475.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.1561, allocations: 7.984 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1562, allocations: 3.938 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1562, allocations: 7.984 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1563, allocations: 183.5 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1563, allocations: 4 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1566, allocations: 27.98 kB / 475.7 MB, free: 7.602 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.001057/0.1577, allocations: 460.5 kB / 476.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1579, allocations: 75.89 kB / 476.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1579, allocations: 0 / 476.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.06e-05/0.158, allocations: 39.92 kB / 476.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1584, allocations: 23.86 kB / 476.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.1589, allocations: 298.9 kB / 476.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1592, allocations: 0.7158 MB / 477.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.77e-05/0.1592, allocations: 28.94 kB / 477.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1593, allocations: 15.44 kB / 477.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1593, allocations: 7.875 kB / 477.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of Templates: time 0.003986/0.1633, allocations: 1.367 MB / 478.7 MB, free: 4.719 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches