Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001338/0.001338, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.101/1.101, allocations: 222.9 MB / 243 MB, free: 15.09 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.167/0.167, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 64.81 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1447, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002653/0.1474, allocations: 1.634 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.1482, allocations: 451 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.1482, allocations: 4 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1484, allocations: 71.78 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1486, allocations: 67.73 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.149, allocations: 171.1 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1491, allocations: 87.8 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.1492, allocations: 15.98 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.1493, allocations: 39.83 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.1494, allocations: 51.78 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1494, allocations: 8 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.1495, allocations: 47.98 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.1496, allocations: 31.89 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.1496, allocations: 31.75 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1498, allocations: 107.7 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1498, allocations: 0 / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1498, allocations: 3.938 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1498, allocations: 0 / 473.5 MB, free: 10.85 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.0004232/0.1502, allocations: 415 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.1503, allocations: 12.03 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.1503, allocations: 16.75 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.1505, allocations: 200 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1505, allocations: 4.375 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1505, allocations: 4.375 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1507, allocations: 77.66 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1507, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1507, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1507, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1509, allocations: 43.97 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1512, allocations: 328.6 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1515, allocations: 62.55 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.1516, allocations: 28.97 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1516, allocations: 0 / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1516, allocations: 38.53 kB / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1516, allocations: 0 / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001325/0.1529, allocations: 420.8 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.153, allocations: 59.34 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1532, allocations: 205.9 kB / 475.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1532, allocations: 25.7 kB / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.1532, allocations: 108.1 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.1533, allocations: 39.39 kB / 475.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.1533, allocations: 25.72 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.1534, allocations: 322.8 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1536, allocations: 55.95 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1537, allocations: 51.97 kB / 476 MB, free: 8.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.1539, allocations: 120.8 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1539, allocations: 0 / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000293/0.1542, allocations: 169.4 kB / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1543, allocations: 8 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1543, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1543, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1544, allocations: 27.92 kB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1544, allocations: 0 / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.1545, allocations: 19.89 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1545, allocations: 0 / 476.3 MB, free: 7.785 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 8.582e-05/0.1546, allocations: 141.8 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.1546, allocations: 8.469 kB / 476.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.155, allocations: 187 kB / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.155, allocations: 3.938 kB / 476.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.155, allocations: 8 kB / 476.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.155, allocations: 3.938 kB / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.1556, allocations: 0.4998 MB / 477.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1556, allocations: 0 / 477.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-05/0.1557, allocations: 27.98 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1557, allocations: 4 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1558, allocations: 0 / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1558, allocations: 4.062 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/0.1558, allocations: 7.938 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.1561, allocations: 261 kB / 477.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.1562, allocations: 92.92 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1562, allocations: 11.98 kB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.1563, allocations: 4 kB / 477.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1563, allocations: 11.98 kB / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1563, allocations: 4 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1565, allocations: 160.1 kB / 477.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1565, allocations: 0 / 477.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1567, allocations: 31.98 kB / 477.8 MB, free: 6.219 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.0009288/0.1577, allocations: 477 kB / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.158, allocations: 127.9 kB / 478.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.158, allocations: 0 / 478.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1582, allocations: 75.83 kB / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1585, allocations: 27.86 kB / 478.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.159, allocations: 316.2 kB / 478.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1593, allocations: 0.7158 MB / 479.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.1593, allocations: 24.53 kB / 479.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.1594, allocations: 23.44 kB / 479.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of SimCode: time 1.673e-06/0.1594, allocations: 0 / 479.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of Templates: time 0.5745/0.7339, allocations: 1.603 MB / 481.1 MB, free: 2.98 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches