Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.907/1.907, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001122/0.001122, allocations: 96.41 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.5128/0.5128, allocations: 43.54 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004772, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.607, allocations: 86.34 MB / 0.563 GB, free: 396 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.6073, allocations: 71.97 kB / 0.5631 GB, free: 324 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01567/0.623, allocations: 3.619 MB / 0.5666 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.623, allocations: 4 kB / 0.5666 GB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.6231, 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.0005413/0.6236, allocations: 391.7 kB / 0.567 GB, free: 12.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6237, allocations: 16.02 kB / 0.567 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.6237, allocations: 3.906 kB / 0.567 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.624, allocations: 194.4 kB / 0.5672 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.624, allocations: 4 kB / 0.5672 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.6241, allocations: 0 / 0.5672 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.6242, allocations: 57.61 kB / 0.5673 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6243, allocations: 0 / 0.5673 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.6243, allocations: 4 kB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.6243, allocations: 5.031 kB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.6245, allocations: 28.62 kB / 0.5673 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.6249, allocations: 276.9 kB / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.6252, allocations: 46.5 kB / 0.5676 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.6253, allocations: 0 / 0.5676 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.6253, allocations: 30.56 kB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.6253, allocations: 0 / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008271/0.6261, allocations: 169.2 kB / 0.5678 GB, free: 11.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.6262, allocations: 58.78 kB / 0.5679 GB, free: 11.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.6264, allocations: 149 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.6265, allocations: 29.7 kB / 0.568 GB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.6265, allocations: 158.6 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.6266, allocations: 15.75 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.6266, allocations: 0 / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6267, allocations: 310.8 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.6269, allocations: 24.17 kB / 0.5685 GB, free: 10.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.627, allocations: 31.92 kB / 0.5686 GB, free: 10.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.6271, allocations: 19.98 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6271, allocations: 0 / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003296/0.6275, allocations: 89.59 kB / 0.5687 GB, free: 10.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6275, allocations: 4 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.6275, allocations: 4 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6276, allocations: 3.953 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.6277, allocations: 12 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.6277, allocations: 0 / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.6278, allocations: 11.98 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.6278, allocations: 0 / 0.5687 GB, free: 10.43 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.0001133/0.6279, allocations: 121.8 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.628, allocations: 7.906 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.6284, allocations: 102.8 kB / 0.5689 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6284, allocations: 0 / 0.5689 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6284, allocations: 7.953 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6284, allocations: 0 / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.6291, allocations: 358.8 kB / 0.5693 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6291, allocations: 4.062 kB / 0.5693 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.6292, allocations: 12 kB / 0.5693 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.6292, allocations: 4 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6292, allocations: 7.891 kB / 0.5693 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.6292, allocations: 4 kB / 0.5693 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6293, allocations: 0 / 0.5693 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.6296, allocations: 187.4 kB / 0.5695 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.6297, allocations: 93.02 kB / 0.5696 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.6297, allocations: 3.984 kB / 0.5696 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.6299, allocations: 7.953 kB / 0.5696 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.6299, allocations: 4.75 kB / 0.5696 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.6299, allocations: 0 / 0.5696 GB, free: 9.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.6301, allocations: 133.3 kB / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6301, allocations: 0 / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.6304, allocations: 16 kB / 0.5697 GB, free: 9.277 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.00119/0.6317, allocations: 430 kB / 0.5701 GB, free: 8.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.632, allocations: 51.97 kB / 0.5702 GB, free: 8.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.632, allocations: 0 / 0.5702 GB, free: 8.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.6322, allocations: 31.98 kB / 0.5702 GB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.6325, allocations: 7.984 kB / 0.5702 GB, free: 8.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.633, allocations: 233.2 kB / 0.5704 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.6334, allocations: 0.7043 MB / 0.5711 GB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.6334, allocations: 11.44 kB / 0.5711 GB, free: 7.859 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6334, allocations: 0 / 0.5711 GB, free: 7.859 MB / 394.7 MB Notification: Performance of Templates: time 0.004347/0.6378, allocations: 1.433 MB / 0.5725 GB, free: 6.426 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches