Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001061/0.001061, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.451/1.451, allocations: 222.9 MB / 243 MB, free: 15.16 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.2393/0.2393, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 69.97 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1496, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003083/0.1527, allocations: 1.641 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007958/0.1535, allocations: 451 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.1535, allocations: 4 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1538, allocations: 47.81 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1539, allocations: 47.75 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.1543, allocations: 182.6 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1545, allocations: 71.83 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.1546, allocations: 27.97 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.1546, allocations: 27.92 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.758e-05/0.1547, allocations: 43.78 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1547, allocations: 4 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.1548, allocations: 51.91 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1549, allocations: 15.98 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.1549, allocations: 35.73 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1551, allocations: 99.7 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1551, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1551, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1551, allocations: 0 / 473.4 MB, free: 10.93 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.0004087/0.1555, allocations: 413.8 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1556, allocations: 8.031 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.1556, allocations: 12.75 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1558, allocations: 196.2 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1558, allocations: 384 / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1558, allocations: 8.375 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.156, allocations: 65.8 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.156, allocations: 3.938 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.156, allocations: 4 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.156, allocations: 7.938 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1562, allocations: 43.95 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.1565, allocations: 320.6 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1568, allocations: 66.58 kB / 474.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.1568, allocations: 24.97 kB / 474.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1569, allocations: 7.984 kB / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.1569, allocations: 30.56 kB / 474.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1569, allocations: 0 / 474.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001302/0.1582, allocations: 408.9 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1583, allocations: 59.28 kB / 475.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1584, allocations: 165.8 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1584, allocations: 33.7 kB / 475.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.1585, allocations: 100 kB / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1585, allocations: 43.39 kB / 475.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1586, allocations: 21.72 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.1587, allocations: 326.8 kB / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1588, allocations: 55.95 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1589, allocations: 52.02 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1592, allocations: 128.7 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1592, allocations: 4 kB / 476 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002929/0.1595, allocations: 161.5 kB / 476.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1595, allocations: 8 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1595, allocations: 3.938 kB / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1595, allocations: 0 / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.1596, allocations: 23.98 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1597, allocations: 3.984 kB / 476.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.1597, allocations: 16.55 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1597, allocations: 3.938 kB / 476.2 MB, free: 7.938 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 9.8e-05/0.1598, allocations: 129.8 kB / 476.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.1599, allocations: 7.906 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.1602, allocations: 198.2 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1603, allocations: 4 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1603, allocations: 0 / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1603, allocations: 3.984 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.1609, allocations: 499.9 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1609, allocations: 96 / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/0.161, allocations: 35.97 kB / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1611, allocations: 0 / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1611, allocations: 8 kB / 477.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1611, allocations: 0 / 477.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1611, allocations: 0 / 477.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.1614, allocations: 276.9 kB / 477.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1615, allocations: 85.02 kB / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1615, allocations: 0 / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.1616, allocations: 11.98 kB / 477.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1616, allocations: 11.98 kB / 477.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1617, allocations: 4 kB / 477.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.558e-05/0.1618, allocations: 136.5 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1618, allocations: 0 / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.162, allocations: 20 kB / 477.6 MB, free: 6.418 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.0009882/0.163, allocations: 468.3 kB / 478.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1633, allocations: 127.8 kB / 478.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1633, allocations: 0 / 478.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.1635, allocations: 71.89 kB / 478.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.1638, allocations: 19.5 kB / 478.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.1643, allocations: 292.2 kB / 478.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1646, allocations: 0.7196 MB / 479.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.895e-05/0.1647, allocations: 32.52 kB / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.1647, allocations: 15.44 kB / 479.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1647, allocations: 0 / 479.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of Templates: time 0.2121/0.3768, allocations: 1.595 MB / 480.9 MB, free: 3.23 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches