Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001088, allocations: 108.3 kB / 17.21 MB, free: 6.293 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.001123/0.001123, allocations: 194 kB / 18.12 MB, free: 5.383 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.367/1.367, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2099/0.2099, allocations: 44.17 MB / 336.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 69.05 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1391, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.00356/0.1427, allocations: 1.7 MB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008206/0.1435, allocations: 423.2 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.1436, allocations: 0 / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.1439, allocations: 63.84 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.144, allocations: 59.8 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1444, allocations: 119 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1445, allocations: 75.75 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1446, allocations: 15.98 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.1447, allocations: 31.91 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1448, allocations: 55.81 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1448, allocations: 4 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.1449, allocations: 47.92 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.145, allocations: 23.92 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.1451, allocations: 31.73 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1453, allocations: 103.7 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1453, allocations: 3.938 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1453, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1453, allocations: 0 / 471.3 MB, free: 12.1 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005786/0.1459, allocations: 421.9 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1459, allocations: 8.031 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.146, allocations: 12.75 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1462, allocations: 200 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1462, allocations: 384 / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1462, allocations: 8.375 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1464, allocations: 65.8 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1464, allocations: 0 / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1464, allocations: 0 / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1464, allocations: 4 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1466, allocations: 47.89 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.147, allocations: 296.8 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1472, allocations: 62.58 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.1473, allocations: 24.97 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1474, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1474, allocations: 34.56 kB / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1474, allocations: 0 / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00137/0.1488, allocations: 397.1 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1488, allocations: 55.34 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.149, allocations: 202.2 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.1491, allocations: 29.7 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.1492, allocations: 104 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.1492, allocations: 35.41 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1493, allocations: 29.7 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003749/0.1497, allocations: 326.8 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1498, allocations: 44.09 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1499, allocations: 47.97 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1502, allocations: 96.81 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1503, allocations: 4 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002881/0.1506, allocations: 141.5 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1506, allocations: 4 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1506, allocations: 0 / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1506, allocations: 0 / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1507, allocations: 31.86 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.1507, allocations: 4 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.1508, allocations: 11.98 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1508, allocations: 8 kB / 473.9 MB, free: 9.176 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 (11): * Single equations (assignments): 11 * 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.0001585/0.151, allocations: 130.4 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.151, allocations: 11.81 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.1514, allocations: 162.6 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1514, allocations: 11.92 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1514, allocations: 0 / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1514, allocations: 0 / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.152, allocations: 468.1 kB / 474.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.152, allocations: 8 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/0.1521, allocations: 27.98 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1521, allocations: 0 / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1521, allocations: 0 / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1522, allocations: 4 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1522, allocations: 3.984 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.1525, allocations: 260.9 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1526, allocations: 85.02 kB / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1526, allocations: 7.984 kB / 475.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.1527, allocations: 8 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1528, allocations: 7.984 kB / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1528, allocations: 4 kB / 475.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1529, allocations: 159.3 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1529, allocations: 3.938 kB / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1532, allocations: 31.98 kB / 475.3 MB, free: 7.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001167/0.1544, allocations: 457.8 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.1547, allocations: 111.8 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1547, allocations: 0 / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1549, allocations: 55.91 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1553, allocations: 32.05 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.1559, allocations: 326.1 kB / 476.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1564, allocations: 0.7121 MB / 477 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.187e-05/0.1565, allocations: 12.42 kB / 477 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.1565, allocations: 23.42 kB / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1565, allocations: 0 / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of Templates: time 0.004504/0.161, allocations: 1.442 MB / 478.5 MB, free: 4.668 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches