Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 182.3 kB / 17.41 MB, free: 4.406 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.656/1.656, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007718/0.0007718, allocations: 80.56 kB / 271.9 MB, free: 8.266 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.3215/0.3215, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 16 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2732/0.3916, allocations: 86.42 MB / 0.5643 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.3919, allocations: 77.92 kB / 0.5644 GB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009892/0.4018, allocations: 3.929 MB / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4018, allocations: 0 / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4019, allocations: 4 kB / 0.5682 GB, free: 11.89 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.0004086/0.4023, allocations: 407.7 kB / 0.5686 GB, free: 11.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4023, allocations: 8.031 kB / 0.5686 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.4024, allocations: 8.844 kB / 0.5686 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.4026, allocations: 208 kB / 0.5688 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4026, allocations: 4.375 kB / 0.5688 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.4026, allocations: 5.594 kB / 0.5688 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.4028, allocations: 50.25 kB / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4028, allocations: 192 / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4028, allocations: 3.938 kB / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4028, allocations: 0 / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.4029, allocations: 30.92 kB / 0.5689 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.4033, allocations: 288.8 kB / 0.5692 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4035, allocations: 46.5 kB / 0.5692 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.4035, allocations: 20.86 kB / 0.5693 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.4036, allocations: 4.078 kB / 0.5693 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.4036, allocations: 30.56 kB / 0.5693 GB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4036, allocations: 4 kB / 0.5693 GB, free: 10.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005082/0.4041, allocations: 157.4 kB / 0.5695 GB, free: 10.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.4042, allocations: 58.12 kB / 0.5695 GB, free: 10.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.4044, allocations: 194.2 kB / 0.5697 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4044, allocations: 29.7 kB / 0.5697 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.4044, allocations: 104 kB / 0.5698 GB, free: 10.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.4045, allocations: 15.8 kB / 0.5698 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.4045, allocations: 0 / 0.5698 GB, free: 10.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4046, allocations: 330.7 kB / 0.5702 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.4047, allocations: 31.92 kB / 0.5702 GB, free: 9.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.4047, allocations: 19.98 kB / 0.5702 GB, free: 9.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.4049, allocations: 52.83 kB / 0.5703 GB, free: 9.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4049, allocations: 0 / 0.5703 GB, free: 9.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001737/0.4051, allocations: 89.58 kB / 0.5703 GB, free: 9.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4051, allocations: 4 kB / 0.5703 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4051, allocations: 0 / 0.5703 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4051, allocations: 0 / 0.5703 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.4052, allocations: 19.92 kB / 0.5704 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4052, allocations: 3.984 kB / 0.5704 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.4052, allocations: 19.98 kB / 0.5704 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4053, allocations: 0 / 0.5704 GB, free: 9.473 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 9.494e-05/0.4054, allocations: 133.7 kB / 0.5705 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.4054, allocations: 12.16 kB / 0.5705 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.4056, allocations: 109.9 kB / 0.5706 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4056, allocations: 3.984 kB / 0.5706 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4056, allocations: 0 / 0.5706 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4057, allocations: 0 / 0.5706 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.4061, allocations: 374.4 kB / 0.571 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4061, allocations: 0 / 0.571 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.4062, allocations: 15.98 kB / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4062, allocations: 288 / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4062, allocations: 0.8438 kB / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4062, allocations: 0 / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4062, allocations: 0 / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.4064, allocations: 195.3 kB / 0.5712 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.4065, allocations: 97 kB / 0.5713 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.4065, allocations: 0 / 0.5713 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4066, allocations: 11.98 kB / 0.5713 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.4066, allocations: 3.938 kB / 0.5713 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4067, allocations: 4 kB / 0.5713 GB, free: 8.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.4068, allocations: 163.8 kB / 0.5715 GB, free: 8.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4068, allocations: 0 / 0.5715 GB, free: 8.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.407, allocations: 23.92 kB / 0.5715 GB, free: 8.25 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.0008088/0.4079, allocations: 399.2 kB / 0.5719 GB, free: 7.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.408, allocations: 59.89 kB / 0.5719 GB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4081, allocations: 0 / 0.5719 GB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.4081, allocations: 27.98 kB / 0.5719 GB, free: 7.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4084, allocations: 12 kB / 0.572 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.4089, allocations: 269 kB / 0.5722 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.4091, allocations: 0.7043 MB / 0.5729 GB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.4092, allocations: 19.36 kB / 0.5729 GB, free: 6.816 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4092, allocations: 0 / 0.5729 GB, free: 6.816 MB / 394.7 MB Notification: Performance of Templates: time 0.002903/0.4121, allocations: 1.534 MB / 0.5744 GB, free: 5.289 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches