Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 187.6 kB / 16.41 MB, free: 5.723 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.887/1.887, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001113/0.001113, allocations: 80.44 kB / 270.9 MB, free: 8.367 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.5019/0.5019, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004646, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5698, allocations: 86.35 MB / 0.563 GB, free: 376 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5701, allocations: 69.34 kB / 0.5631 GB, free: 308 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.5861, allocations: 3.615 MB / 0.5666 GB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5861, allocations: 0 / 0.5666 GB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.5862, allocations: 0 / 0.5666 GB, free: 12.73 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005265/0.5867, allocations: 395.7 kB / 0.567 GB, free: 12.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5868, allocations: 16.02 kB / 0.567 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.5868, allocations: 7.906 kB / 0.567 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.5871, allocations: 194.4 kB / 0.5672 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.5871, allocations: 0 / 0.5672 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.5872, allocations: 0 / 0.5672 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.5873, allocations: 53.62 kB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5874, allocations: 0 / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5874, allocations: 4 kB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5874, allocations: 1.031 kB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.5876, allocations: 32.62 kB / 0.5673 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.588, allocations: 272.9 kB / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.5883, allocations: 46.5 kB / 0.5676 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.5883, allocations: 0 / 0.5676 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5884, allocations: 38.56 kB / 0.5677 GB, free: 11.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.5884, allocations: 0 / 0.5677 GB, free: 11.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008128/0.5892, allocations: 173.4 kB / 0.5678 GB, free: 11.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.5893, allocations: 54.78 kB / 0.5679 GB, free: 11.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.5895, allocations: 149 kB / 0.568 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.5896, allocations: 25.7 kB / 0.568 GB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.5896, allocations: 162.6 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.5897, allocations: 11.75 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-06/0.5897, allocations: 0 / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5898, allocations: 318.8 kB / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.59, allocations: 20.17 kB / 0.5685 GB, free: 10.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.5901, allocations: 23.98 kB / 0.5686 GB, free: 10.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5902, allocations: 23.92 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5902, allocations: 0 / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003031/0.5906, allocations: 89.61 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5906, allocations: 11.98 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5906, allocations: 3.984 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.5906, allocations: 3.953 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5908, allocations: 12 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.5908, allocations: 4 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.5909, allocations: 7.984 kB / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5909, allocations: 0 / 0.5687 GB, free: 10.42 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001158/0.591, allocations: 117.8 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.5911, allocations: 7.906 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.5915, allocations: 114.8 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5915, allocations: 0 / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5915, allocations: 3.953 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5915, allocations: 0 / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.5921, allocations: 354.8 kB / 0.5693 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.5922, allocations: 8.047 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5923, allocations: 19.94 kB / 0.5693 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5923, allocations: 0 / 0.5693 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5923, allocations: 7.953 kB / 0.5693 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.5923, allocations: 0 / 0.5693 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5923, allocations: 0 / 0.5693 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.5927, allocations: 191.4 kB / 0.5695 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.5928, allocations: 85.02 kB / 0.5696 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.5928, allocations: 0 / 0.5696 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5929, allocations: 11.94 kB / 0.5696 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.593, allocations: 8.75 kB / 0.5696 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.593, allocations: 0 / 0.5696 GB, free: 9.406 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.5932, allocations: 133.3 kB / 0.5697 GB, free: 9.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5932, allocations: 0 / 0.5697 GB, free: 9.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.5936, allocations: 20 kB / 0.5697 GB, free: 9.258 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001157/0.5947, allocations: 415.5 kB / 0.5701 GB, free: 8.945 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.5951, allocations: 55.97 kB / 0.5702 GB, free: 8.891 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5951, allocations: 0 / 0.5702 GB, free: 8.891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.5952, allocations: 27.98 kB / 0.5702 GB, free: 8.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.5955, allocations: 11.98 kB / 0.5702 GB, free: 8.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.5961, allocations: 233.2 kB / 0.5704 GB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.5964, allocations: 0.7004 MB / 0.5711 GB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.5965, allocations: 15.38 kB / 0.5711 GB, free: 7.852 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5965, allocations: 0 / 0.5711 GB, free: 7.852 MB / 394.7 MB Notification: Performance of Templates: time 0.004291/0.6008, allocations: 1.433 MB / 0.5725 GB, free: 6.418 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches