Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002262/0.002267, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001078/0.001078, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2705/0.2705, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.243e-05, allocations: 3.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5908, allocations: 87.1 MB / 0.5579 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5911, allocations: 76.17 kB / 0.5579 GB, free: 468 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03098/0.6221, allocations: 7.862 MB / 0.5656 GB, free: 9.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6222, allocations: 7.938 kB / 0.5656 GB, free: 9.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.874e-05/0.6222, allocations: 4 kB / 0.5656 GB, free: 9.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008223/0.623, allocations: 0.5507 MB / 0.5662 GB, free: 8.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.6231, allocations: 8.031 kB / 0.5662 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.6232, allocations: 43.48 kB / 0.5662 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.6239, allocations: 335.3 kB / 0.5665 GB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.624, allocations: 0 / 0.5665 GB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.624, allocations: 8 kB / 0.5665 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.6242, allocations: 52.31 kB / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6242, allocations: 0 / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.6242, allocations: 7.062 kB / 0.5666 GB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.6242, allocations: 4 kB / 0.5666 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.6244, allocations: 22.58 kB / 0.5666 GB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.6253, allocations: 459.1 kB / 0.567 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.6255, allocations: 40.69 kB / 0.5671 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.6256, allocations: 24.09 kB / 0.5671 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.6256, allocations: 0 / 0.5671 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.6257, allocations: 34.52 kB / 0.5671 GB, free: 7.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.6257, allocations: 4 kB / 0.5671 GB, free: 7.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008635/0.6265, allocations: 239.1 kB / 0.5674 GB, free: 7.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.6267, allocations: 55.41 kB / 0.5674 GB, free: 7.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.6286, allocations: 0.7765 MB / 0.5682 GB, free: 6.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.6287, allocations: 28.95 kB / 0.5682 GB, free: 6.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.6289, allocations: 234.2 kB / 0.5684 GB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.6289, allocations: 14.78 kB / 0.5685 GB, free: 6.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.6289, allocations: 7.5 kB / 0.5685 GB, free: 6.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6291, allocations: 314.8 kB / 0.5688 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.6292, allocations: 22.86 kB / 0.5688 GB, free: 6.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.6292, allocations: 22.31 kB / 0.5688 GB, free: 6.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.931e-05/0.6293, allocations: 24.92 kB / 0.5688 GB, free: 6.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6293, allocations: 0 / 0.5688 GB, free: 6.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002337/0.6296, allocations: 90.08 kB / 0.5689 GB, free: 6.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.6296, allocations: 7.953 kB / 0.5689 GB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6296, allocations: 0 / 0.5689 GB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6297, allocations: 4 kB / 0.5689 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.6299, allocations: 27.92 kB / 0.569 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6299, allocations: 0 / 0.569 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.6301, allocations: 19.92 kB / 0.569 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.6302, allocations: 0 / 0.569 GB, free: 6.195 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.384e-05/0.6303, allocations: 104.5 kB / 0.5691 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.6304, allocations: 47.44 kB / 0.5691 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.6308, allocations: 151.7 kB / 0.5693 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6309, allocations: 0 / 0.5693 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6309, allocations: 4 kB / 0.5693 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6309, allocations: 0 / 0.5693 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.6322, allocations: 0.6136 MB / 0.5699 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.6322, allocations: 3.953 kB / 0.5699 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.6324, allocations: 27.98 kB / 0.5699 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.6324, allocations: 0 / 0.5699 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.6324, allocations: 0 / 0.5699 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.6324, allocations: 0 / 0.5699 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6325, allocations: 0 / 0.5699 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.6328, allocations: 221 kB / 0.5701 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.6331, allocations: 163.4 kB / 0.5703 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.6332, allocations: 0 / 0.5703 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.6334, allocations: 19.98 kB / 0.5703 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.6335, allocations: 11.67 kB / 0.5703 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.6335, allocations: 0 / 0.5703 GB, free: 4.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.6347, allocations: 0.6376 MB / 0.5709 GB, free: 4.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6347, allocations: 0 / 0.5709 GB, free: 4.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004515/0.6352, allocations: 59.56 kB / 0.571 GB, free: 4.375 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001094/0.6363, allocations: 365 kB / 0.5713 GB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.6365, allocations: 50.55 kB / 0.5714 GB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6366, allocations: 0 / 0.5714 GB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.6367, allocations: 35.06 kB / 0.5714 GB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.6371, allocations: 23.27 kB / 0.5714 GB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.639, allocations: 0.7854 MB / 0.5722 GB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.6396, allocations: 0.8428 MB / 0.573 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6398, allocations: 27.69 kB / 0.573 GB, free: 2.391 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6398, allocations: 0 / 0.573 GB, free: 2.391 MB / 378.7 MB Notification: Performance of Templates: time 0.01275/0.6525, allocations: 4.427 MB / 0.5774 GB, free: 13.97 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches