Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.00136/0.001361, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.515/1.515, allocations: 223.2 MB / 241.9 MB, free: 256 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.2395/0.2395, allocations: 44.26 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8.75 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 61.94 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002175/0.1392, allocations: 1.27 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.1401, allocations: 387.5 kB / 473.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.1402, allocations: 0 / 473.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.1406, allocations: 71.83 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.1409, allocations: 55.88 kB / 473.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1412, allocations: 95.81 kB / 473.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1414, allocations: 63.81 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1415, allocations: 16.17 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.181e-05/0.1416, allocations: 27.86 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1417, allocations: 43.88 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1417, allocations: 0 / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1418, allocations: 35.98 kB / 473.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.1419, allocations: 23.92 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1419, allocations: 37.64 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1421, allocations: 71.83 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1421, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1421, allocations: 4 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1421, allocations: 0 / 473.8 MB, free: 11.5 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.0004694/0.1426, allocations: 391.2 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1426, allocations: 8.562 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.1427, allocations: 7.906 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1429, allocations: 198.9 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1429, allocations: 0 / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1429, allocations: 4 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1431, allocations: 61.62 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1431, allocations: 7.844 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1431, allocations: 0 / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1431, allocations: 0 / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1432, allocations: 39.91 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.1437, allocations: 300.8 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1439, allocations: 46.55 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.144, allocations: 24.94 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.144, allocations: 0 / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.144, allocations: 38.5 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.144, allocations: 0 / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008971/0.1449, allocations: 269 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.145, allocations: 51.41 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1452, allocations: 210.2 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1452, allocations: 25.7 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.1453, allocations: 104 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1453, allocations: 27.64 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-06/0.1453, allocations: 4 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.1456, allocations: 326.8 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1457, allocations: 31.98 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.1458, allocations: 35.97 kB / 476 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.1459, allocations: 39.98 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1459, allocations: 0 / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002232/0.1461, allocations: 125.7 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1461, allocations: 8 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1461, allocations: 0 / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1462, allocations: 0 / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1463, allocations: 19.98 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1463, allocations: 4.062 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.1463, allocations: 12 kB / 476.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1463, allocations: 8 kB / 476.2 MB, free: 8.906 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.839e-05/0.1465, allocations: 125.8 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.1465, allocations: 11.91 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.1468, allocations: 142.3 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1468, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1468, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1468, allocations: 4 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.1474, allocations: 431.2 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1474, allocations: 0 / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.1475, allocations: 16 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.1475, allocations: 3.984 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1475, allocations: 4 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1475, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1475, allocations: 3.938 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.1478, allocations: 224.2 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.1479, allocations: 100.8 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1479, allocations: 0 / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.148, allocations: 4 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.148, allocations: 11.98 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.148, allocations: 7.953 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1482, allocations: 155.2 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1482, allocations: 0 / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1484, allocations: 20 kB / 477.4 MB, free: 7.555 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 (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.001194/0.1496, allocations: 461.5 kB / 477.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1499, allocations: 79.89 kB / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1499, allocations: 0 / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1501, allocations: 52.06 kB / 478 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.1504, allocations: 20.14 kB / 478 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.1511, allocations: 282.4 kB / 478.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.1516, allocations: 0.7083 MB / 479 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1517, allocations: 16.64 kB / 479 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1517, allocations: 15.44 kB / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1517, allocations: 4 kB / 479 MB, free: 6.051 MB / 350.1 MB Notification: Performance of Templates: time 0.004807/0.1565, allocations: 1.273 MB / 480.3 MB, free: 4.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches