Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 93.97 kB / 17 MB, free: 6.418 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.001505/0.001505, allocations: 187.5 kB / 17.89 MB, free: 5.945 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.481/1.481, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2404/0.2404, allocations: 44.24 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 16 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 61.92 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.001975/0.1342, allocations: 1.305 MB / 472.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007164/0.1349, allocations: 387.6 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.135, allocations: 0 / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1352, allocations: 39.83 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1354, allocations: 27.91 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1357, allocations: 99.06 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1359, allocations: 67.83 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.136, allocations: 31.91 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.1361, allocations: 31.84 kB / 473.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.1362, allocations: 23.86 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1362, allocations: 4 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.1363, allocations: 35.98 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1363, allocations: 19.91 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.1364, allocations: 37.7 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1365, allocations: 76.11 kB / 473.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1365, allocations: 0 / 473.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1365, allocations: 3.938 kB / 473.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1366, allocations: 0 / 473.8 MB, free: 11.53 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004781/0.137, allocations: 387.1 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1371, allocations: 8.031 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.1371, allocations: 11.81 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1373, allocations: 191 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1374, allocations: 8 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1374, allocations: 11.91 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1376, allocations: 77.56 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1376, allocations: 0 / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1376, allocations: 4 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1377, allocations: 0 / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1378, allocations: 51.95 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1383, allocations: 332.7 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1384, allocations: 62.55 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.1385, allocations: 32.84 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.1385, allocations: 0 / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1386, allocations: 30.56 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1386, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001107/0.1397, allocations: 361.5 kB / 475.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.1397, allocations: 55.36 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1399, allocations: 152.7 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1399, allocations: 33.7 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.14, allocations: 104 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.1401, allocations: 43.34 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1401, allocations: 4 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1402, allocations: 326.8 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1403, allocations: 47.97 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1404, allocations: 55.09 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1406, allocations: 51.97 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1406, allocations: 4 kB / 476.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002742/0.1408, allocations: 157.5 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.1409, allocations: 4 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1409, allocations: 3.938 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1409, allocations: 0 / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.141, allocations: 27.98 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1411, allocations: 8 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1411, allocations: 15.94 kB / 476.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1411, allocations: 4 kB / 476.4 MB, free: 8.703 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.1412, allocations: 122.4 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1413, allocations: 11.91 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.1417, allocations: 190.3 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1417, allocations: 0 / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1417, allocations: 4 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1417, allocations: 7.938 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.1424, allocations: 495.1 kB / 477.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1424, allocations: 0 / 477.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.1425, allocations: 31.92 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1425, allocations: 3.953 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1425, allocations: 4 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1425, allocations: 0 / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1425, allocations: 4.031 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1428, allocations: 253.8 kB / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1429, allocations: 89 kB / 477.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.1429, allocations: 11.95 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.143, allocations: 4 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.143, allocations: 23.91 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1431, allocations: 3.984 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.545e-05/0.1431, allocations: 117 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1431, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1434, allocations: 27.98 kB / 477.7 MB, free: 7.215 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.1444, allocations: 470.3 kB / 478.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1447, allocations: 119.9 kB / 478.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1447, allocations: 0 / 478.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1448, allocations: 67.91 kB / 478.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1452, allocations: 15.22 kB / 478.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.1457, allocations: 290.4 kB / 478.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1461, allocations: 0.7043 MB / 479.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.265e-05/0.1461, allocations: 32.39 kB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.1462, allocations: 19.44 kB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1462, allocations: 4 kB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of Templates: time 0.004047/0.1503, allocations: 1.435 MB / 480.9 MB, free: 4.215 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches