Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.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.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 178.2 kB / 16.41 MB, free: 5.707 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.31/1.31, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007296/0.0007295, allocations: 91.64 kB / 270.9 MB, free: 8.363 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.3766/0.3766, allocations: 43.55 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003698, allocations: 16 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09674, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.001785/0.09856, allocations: 1.275 MB / 491.5 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.09915, allocations: 295.9 kB / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.09923, allocations: 0 / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.09947, allocations: 35.89 kB / 491.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.09963, allocations: 35.83 kB / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.0999, allocations: 83.91 kB / 492 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1, allocations: 67.81 kB / 492 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.1001, allocations: 8.172 kB / 492 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1002, allocations: 27.86 kB / 492.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.1003, allocations: 23.91 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1003, allocations: 4 kB / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.1004, allocations: 35.86 kB / 492.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.1005, allocations: 12 kB / 492.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.1005, allocations: 33.64 kB / 492.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1006, allocations: 63.89 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1006, allocations: 0 / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1006, allocations: 0 / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1006, allocations: 0 / 492.2 MB, free: 9.207 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004518/0.1011, allocations: 383.2 kB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1011, allocations: 12.02 kB / 492.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.1012, allocations: 19.8 kB / 492.6 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1014, allocations: 190.9 kB / 492.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1014, allocations: 4 kB / 492.8 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1014, allocations: 4 kB / 492.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1016, allocations: 75.39 kB / 492.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1016, allocations: 3.938 kB / 492.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1016, allocations: 0 / 492.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1016, allocations: 8 kB / 492.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1018, allocations: 43.92 kB / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1022, allocations: 385 kB / 493.3 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1025, allocations: 85.22 kB / 493.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.1026, allocations: 33.8 kB / 493.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1026, allocations: 7.938 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1026, allocations: 38.55 kB / 493.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.1026, allocations: 0 / 493.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006922/0.1033, allocations: 245.4 kB / 493.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1034, allocations: 85.09 kB / 493.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1035, allocations: 157.7 kB / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1035, allocations: 25.7 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.1036, allocations: 103.9 kB / 494.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1036, allocations: 27.56 kB / 494.1 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.1036, allocations: 4 kB / 494.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.1037, allocations: 326.8 kB / 494.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.1038, allocations: 31.97 kB / 494.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.611e-05/0.1039, allocations: 57.62 kB / 494.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.407e-05/0.104, allocations: 39.98 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.104, allocations: 0 / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002509/0.1043, allocations: 141.5 kB / 494.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1043, allocations: 11.94 kB / 494.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1043, allocations: 0 / 494.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1044, allocations: 0 / 494.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.1045, allocations: 27.98 kB / 494.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1045, allocations: 3.938 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1045, allocations: 4 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1045, allocations: 4.094 kB / 494.8 MB, free: 6.422 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 (10): * Single equations (assignments): 10 * 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.58e-05/0.1046, allocations: 125.8 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.1047, allocations: 15.84 kB / 494.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.105, allocations: 157.9 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.105, allocations: 0 / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.105, allocations: 0 / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.105, allocations: 4 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.1056, allocations: 0.4946 MB / 495.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1056, allocations: 0 / 495.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.1057, allocations: 27.92 kB / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1057, allocations: 0 / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1057, allocations: 8 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1058, allocations: 8.266 kB / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1058, allocations: 0 / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1061, allocations: 307.5 kB / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.1061, allocations: 89 kB / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1061, allocations: 4 kB / 496 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.1062, allocations: 8 kB / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.1063, allocations: 7.984 kB / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1063, allocations: 8 kB / 496 MB, free: 5.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.631e-05/0.1064, allocations: 115.2 kB / 496.1 MB, free: 4.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1064, allocations: 0 / 496.1 MB, free: 4.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.1067, allocations: 20 kB / 496.1 MB, free: 4.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0007733/0.1075, allocations: 408.6 kB / 496.5 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.1077, allocations: 99.88 kB / 496.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1077, allocations: 0 / 496.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1079, allocations: 47.98 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1082, allocations: 19.94 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.1087, allocations: 288.8 kB / 497 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1089, allocations: 0.7004 MB / 497.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.109, allocations: 11.44 kB / 497.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.109, allocations: 4 kB / 497.7 MB, free: 3.336 MB / 378.7 MB Notification: Performance of Templates: time 0.003005/0.112, allocations: 1.622 MB / 499.3 MB, free: 1.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches