Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001974/0.001974, allocations: 180.4 kB / 16.41 MB, free: 5.73 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.982/1.982, 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.0007839/0.0007836, allocations: 94.3 kB / 270.9 MB, free: 8.352 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.3277/0.3277, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004098, allocations: 16 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1407, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002288/0.143, allocations: 1.667 MB / 491.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1446, allocations: 0.9331 MB / 492.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1447, allocations: 0 / 492.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.145, allocations: 35.77 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.1453, allocations: 131.5 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.1462, allocations: 371.3 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.1466, allocations: 235.2 kB / 493.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1467, allocations: 60.73 kB / 493.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.1469, allocations: 107.5 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1472, allocations: 163.4 kB / 493.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.1472, allocations: 8 kB / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1473, allocations: 31.98 kB / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.1475, allocations: 135.6 kB / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.1476, allocations: 85.39 kB / 494.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1479, allocations: 255.8 kB / 494.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1479, allocations: 3.938 kB / 494.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1479, allocations: 0 / 494.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1479, allocations: 0 / 494.4 MB, free: 6.984 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009861/0.1489, allocations: 0.7076 MB / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1489, allocations: 12.03 kB / 495.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.149, allocations: 51.34 kB / 495.2 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.1496, allocations: 423 kB / 495.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1496, allocations: 7.938 kB / 495.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.1496, allocations: 12 kB / 495.6 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1499, allocations: 151.3 kB / 495.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.15, allocations: 0 / 495.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.15, allocations: 8 kB / 495.8 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.15, allocations: 3.953 kB / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.1503, allocations: 119.9 kB / 495.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.1512, allocations: 0.68 MB / 496.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1515, allocations: 125.2 kB / 496.7 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.1517, allocations: 73.8 kB / 496.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1517, allocations: 0 / 496.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1517, allocations: 38.56 kB / 496.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.1517, allocations: 0 / 496.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002012/0.1538, allocations: 0.74 MB / 497.6 MB, free: 3.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1538, allocations: 77.11 kB / 497.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000873/0.1547, allocations: 0.8466 MB / 498.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1547, allocations: 29.7 kB / 498.5 MB, free: 2.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.1549, allocations: 252.2 kB / 498.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.155, allocations: 71.03 kB / 498.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.155, allocations: 0 / 498.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1552, allocations: 366.8 kB / 499.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.1555, allocations: 107.9 kB / 499.3 MB, free: 1.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1557, allocations: 129.6 kB / 499.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.156, allocations: 112.1 kB / 499.5 MB, free: 1.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.156, allocations: 3.938 kB / 499.5 MB, free: 1.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006958/0.1567, allocations: 324.8 kB / 499.9 MB, free: 1.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.1568, allocations: 15.02 kB / 499.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1568, allocations: 0 / 499.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1568, allocations: 8 kB / 499.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1571, allocations: 60.17 kB / 499.9 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1571, allocations: 0 / 499.9 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1573, allocations: 35.91 kB / 500 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1573, allocations: 8 kB / 500 MB, free: 1.176 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 (20): * Single equations (assignments): 20 * 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.0001971/0.1576, allocations: 213.7 kB / 0.4885 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/0.1576, allocations: 51.34 kB / 0.4885 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007852/0.1584, allocations: 385.6 kB / 0.4889 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1585, allocations: 0 / 0.4889 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1585, allocations: 4 kB / 0.4889 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1585, allocations: 3.984 kB / 0.4889 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1795/0.338, allocations: 0.8968 MB / 0.4898 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.338, allocations: 0 / 0.4898 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.3383, allocations: 69.69 kB / 0.4898 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.3383, allocations: 1.188 kB / 0.4898 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3384, allocations: 3.75 kB / 0.4898 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.3384, allocations: 1.578 kB / 0.4898 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3384, allocations: 2.094 kB / 0.4898 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/0.3392, allocations: 0.4984 MB / 0.4903 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.3394, allocations: 150.7 kB / 0.4905 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.3394, allocations: 3.891 kB / 0.4905 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.3397, allocations: 28.47 kB / 0.4905 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.3398, allocations: 22.59 kB / 0.4905 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3398, allocations: 12 kB / 0.4905 GB, free: 42.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007555/0.3405, allocations: 0.6191 MB / 0.4911 GB, free: 42.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3406, allocations: 0 / 0.4911 GB, free: 42.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.3409, allocations: 62.92 kB / 0.4912 GB, free: 42.64 MB / 378.7 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 (20): * Single equations (assignments): 20 * 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.0007697/0.3417, allocations: 400.5 kB / 0.4916 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006457/0.3424, allocations: 260.1 kB / 0.4918 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3424, allocations: 0.8438 kB / 0.4918 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.3427, allocations: 143.9 kB / 0.492 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.3433, allocations: 62.97 kB / 0.492 GB, free: 42.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3446, allocations: 1.006 MB / 0.493 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.345, allocations: 0.8518 MB / 0.4938 GB, free: 41.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.3451, allocations: 48.05 kB / 0.4939 GB, free: 41.28 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3451, allocations: 0 / 0.4939 GB, free: 41.28 MB / 378.7 MB Notification: Performance of Templates: time 0.008774/0.3539, allocations: 5.681 MB / 0.4994 GB, free: 40.69 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches