Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008619/0.0008617, allocations: 86.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4006/0.4006, allocations: 43.57 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003984, allocations: 20 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001799/0.1405, allocations: 1.267 MB / 491.5 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005452/0.141, allocations: 307.7 kB / 491.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.1411, allocations: 0 / 491.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1414, allocations: 95.8 kB / 491.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1415, allocations: 55.86 kB / 492 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1418, allocations: 79.84 kB / 492 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1419, allocations: 75.8 kB / 492.1 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.142, allocations: 16.17 kB / 492.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.1421, allocations: 35.89 kB / 492.2 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.1422, allocations: 47.83 kB / 492.2 MB, free: 9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1422, allocations: 0 / 492.2 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.057e-05/0.1423, allocations: 23.98 kB / 492.2 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.1423, allocations: 23.92 kB / 492.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.1424, allocations: 37.64 kB / 492.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1425, allocations: 79.88 kB / 492.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1425, allocations: 4 kB / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1425, allocations: 0 / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.1425, allocations: 0 / 492.4 MB, free: 8.828 MB / 378.7 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.0004721/0.143, allocations: 414.6 kB / 492.8 MB, free: 8.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1431, allocations: 12.02 kB / 492.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.1431, allocations: 15.77 kB / 492.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1433, allocations: 198.9 kB / 493 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1433, allocations: 0 / 493 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1434, allocations: 4 kB / 493 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1435, allocations: 83.33 kB / 493.1 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1436, allocations: 0 / 493.1 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1436, allocations: 0 / 493.1 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1436, allocations: 3.984 kB / 493.1 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1437, allocations: 47.92 kB / 493.1 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.1442, allocations: 401 kB / 493.5 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1444, allocations: 85.22 kB / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.1e-05/0.1445, allocations: 33.73 kB / 493.6 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1445, allocations: 11.98 kB / 493.7 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1446, allocations: 30.56 kB / 493.7 MB, free: 7.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1446, allocations: 0 / 493.7 MB, free: 7.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007689/0.1454, allocations: 260.7 kB / 493.9 MB, free: 7.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.1454, allocations: 77.11 kB / 494 MB, free: 6.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1456, allocations: 246.3 kB / 494.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1457, allocations: 25.7 kB / 494.3 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.1457, allocations: 107.9 kB / 494.4 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1458, allocations: 31.55 kB / 494.4 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1458, allocations: 8 kB / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1459, allocations: 322.8 kB / 494.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.146, allocations: 35.97 kB / 494.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1461, allocations: 53.69 kB / 494.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.414e-05/0.1462, allocations: 39.98 kB / 494.9 MB, free: 6.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1462, allocations: 0 / 494.9 MB, free: 6.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002567/0.1465, allocations: 141.3 kB / 495 MB, free: 5.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1465, allocations: 7.938 kB / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1465, allocations: 0 / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1466, allocations: 4 kB / 495 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.1467, allocations: 19.98 kB / 495 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1467, allocations: 7.938 kB / 495 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.1467, allocations: 8.562 kB / 495 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1467, allocations: 8 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.936e-05/0.1468, allocations: 129.8 kB / 495.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.1469, allocations: 15.86 kB / 495.2 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.1472, allocations: 162.7 kB / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1473, allocations: 0 / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1473, allocations: 4 kB / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1473, allocations: 7.969 kB / 495.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.1479, allocations: 0.5064 MB / 495.9 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1479, allocations: 0 / 495.9 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-05/0.148, allocations: 27.92 kB / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.148, allocations: 0 / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1481, allocations: 3.984 kB / 495.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1481, allocations: 4 kB / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1481, allocations: 0 / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.1484, allocations: 311.6 kB / 496.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.1485, allocations: 89.09 kB / 496.3 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1485, allocations: 11.94 kB / 496.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1486, allocations: 8 kB / 496.3 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.1487, allocations: 7.984 kB / 496.3 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.1487, allocations: 4 kB / 496.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1488, allocations: 172.2 kB / 496.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1488, allocations: 0 / 496.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.1491, allocations: 20 kB / 496.5 MB, free: 4.305 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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.0008161/0.1499, allocations: 412.4 kB / 496.9 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1502, allocations: 91.89 kB / 497 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1502, allocations: 0 / 497 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1504, allocations: 47.91 kB / 497.1 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.1508, allocations: 27.94 kB / 497.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.1513, allocations: 349 kB / 497.4 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1516, allocations: 0.716 MB / 498.1 MB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.1517, allocations: 11.44 kB / 498.2 MB, free: 2.652 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1517, allocations: 0 / 498.2 MB, free: 2.652 MB / 378.7 MB Notification: Performance of Templates: time 0.003775/0.1555, allocations: 1.774 MB / 499.9 MB, free: 0.8789 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches