Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001986/0.001986, allocations: 192 kB / 18.55 MB, free: 4.566 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.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.1967/0.1967, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 67.5 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1374, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003899/0.1414, allocations: 1.572 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.1423, allocations: 423.2 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.1424, allocations: 4 kB / 471.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.1428, allocations: 115.7 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.1431, allocations: 87.7 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1435, allocations: 111 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1438, allocations: 87.8 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1439, allocations: 28.11 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.144, allocations: 43.83 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1441, allocations: 79.84 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1442, allocations: 0 / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1443, allocations: 43.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.1444, allocations: 31.84 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.1444, allocations: 39.69 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1447, allocations: 112 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1447, allocations: 3.938 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1447, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1447, allocations: 0 / 472 MB, free: 11.61 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.0005132/0.1452, allocations: 434.7 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1453, allocations: 12.03 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1453, allocations: 8.844 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1455, allocations: 207.9 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1456, allocations: 8.375 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1456, allocations: 384 / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1457, allocations: 61.61 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1458, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1458, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1458, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1459, allocations: 31.91 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.1463, allocations: 316.7 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1464, allocations: 42.56 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.1465, allocations: 20.94 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1465, allocations: 3.938 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1465, allocations: 30.56 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.1466, allocations: 8 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009217/0.1475, allocations: 237.1 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1475, allocations: 51.41 kB / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.1478, allocations: 274.2 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1478, allocations: 29.7 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1479, allocations: 120 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.1479, allocations: 23.64 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.148, allocations: 21.72 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1481, allocations: 326.8 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.1482, allocations: 27.97 kB / 474.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.1483, allocations: 27.98 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1485, allocations: 84.75 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1485, allocations: 0 / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002339/0.1487, allocations: 117.7 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1487, allocations: 4 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1487, allocations: 0 / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1488, allocations: 0 / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1489, allocations: 23.98 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1489, allocations: 3.938 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1489, allocations: 8 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.149, allocations: 0 / 474.5 MB, free: 8.867 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 0.0001022/0.1491, allocations: 141.8 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1491, allocations: 15.81 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1494, allocations: 131 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.1494, allocations: 0 / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1494, allocations: 7.938 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1494, allocations: 7.984 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1499, allocations: 419.3 kB / 475.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.15, allocations: 4 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.15, allocations: 15.94 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.15, allocations: 0 / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1501, allocations: 16.02 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1501, allocations: 3.938 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1501, allocations: 0 / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1503, allocations: 208.2 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.1504, allocations: 92.86 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1504, allocations: 4 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1505, allocations: 7.984 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1505, allocations: 4 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1506, allocations: 8.422 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1507, allocations: 203.1 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1507, allocations: 0 / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.151, allocations: 24 kB / 475.8 MB, free: 7.473 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.0009938/0.152, allocations: 457.6 kB / 476.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1522, allocations: 75.95 kB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1522, allocations: 4 kB / 476.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.1523, allocations: 48.11 kB / 476.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1527, allocations: 19.92 kB / 476.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.1533, allocations: 307.4 kB / 476.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1536, allocations: 0.7235 MB / 477.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.1537, allocations: 20.64 kB / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1537, allocations: 19.38 kB / 477.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1537, allocations: 0 / 477.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Templates: time 0.00411/0.1578, allocations: 1.386 MB / 478.8 MB, free: 4.555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches