Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.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.Test26,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.CombiTable1D.Test26") translateModel(ModelicaTest.Tables.CombiTable1D.Test26,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.CombiTable1D.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008282/0.0008283, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.165/1.165, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007508/0.0007509, allocations: 78.44 kB / 271.2 MB, free: 8.246 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.2893/0.2893, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 15.98 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09304, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test26): time 0.001661/0.09474, allocations: 1.259 MB / 492.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005282/0.0953, allocations: 311.7 kB / 492.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.09535, allocations: 0 / 492.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.09559, allocations: 71.84 kB / 492.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.09574, allocations: 55.86 kB / 492.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.09601, allocations: 83.78 kB / 492.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.09614, allocations: 63.81 kB / 492.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.09623, allocations: 11.98 kB / 492.7 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.09628, allocations: 23.92 kB / 492.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.09638, allocations: 43.81 kB / 492.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.09641, allocations: 4 kB / 492.7 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.09648, allocations: 27.98 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.09652, allocations: 15.94 kB / 492.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.09658, allocations: 53.48 kB / 492.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.0967, allocations: 63.91 kB / 492.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.09671, allocations: 0 / 492.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09671, allocations: 0 / 492.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.09672, allocations: 0 / 492.9 MB, free: 8.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004021/0.09713, allocations: 391.4 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.09717, allocations: 15.97 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.0972, allocations: 8.844 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.09737, allocations: 192.1 kB / 493.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.09739, allocations: 4.375 kB / 493.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.09742, allocations: 4.359 kB / 493.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.09755, allocations: 61.75 kB / 493.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.09757, allocations: 0 / 493.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.09758, allocations: 0 / 493.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.09759, allocations: 0 / 493.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.09768, allocations: 27.98 kB / 493.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.09805, allocations: 288.9 kB / 493.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.09824, allocations: 50.5 kB / 493.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.09831, allocations: 24.94 kB / 493.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.09834, allocations: 0 / 493.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.09836, allocations: 30.56 kB / 494 MB, free: 7.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.09837, allocations: 0 / 494 MB, free: 7.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005504/0.09892, allocations: 177.1 kB / 494.1 MB, free: 7.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.09896, allocations: 51.41 kB / 494.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.09915, allocations: 202.2 kB / 494.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.09917, allocations: 25.7 kB / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.09923, allocations: 104.1 kB / 494.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.09926, allocations: 19.72 kB / 494.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.09926, allocations: 0 / 494.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.09937, allocations: 326.8 kB / 494.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.09945, allocations: 27.92 kB / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.09953, allocations: 31.97 kB / 494.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.09968, allocations: 60.77 kB / 495 MB, free: 6.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.09969, allocations: 0 / 495 MB, free: 6.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000187/0.09988, allocations: 97.58 kB / 495.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.0999, allocations: 4 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.09991, allocations: 0 / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.09992, allocations: 0 / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.1, allocations: 15.98 kB / 495.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1, allocations: 0 / 495.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.1001, allocations: 11.92 kB / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1001, allocations: 4 kB / 495.1 MB, free: 6.367 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 () * 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 8.377e-05/0.1002, allocations: 129.8 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1002, allocations: 7.906 kB / 495.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.1004, allocations: 110.1 kB / 495.3 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1004, allocations: 4.062 kB / 495.3 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1005, allocations: 4 kB / 495.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1005, allocations: 4 kB / 495.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.1009, allocations: 370.7 kB / 495.7 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1009, allocations: 0 / 495.7 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.101, allocations: 15.98 kB / 495.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.101, allocations: 4 kB / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.101, allocations: 0 / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.101, allocations: 3.938 kB / 495.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.101, allocations: 3.984 kB / 495.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.1012, allocations: 199.3 kB / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1013, allocations: 85.02 kB / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1013, allocations: 3.984 kB / 496 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.1014, allocations: 7.938 kB / 496 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.1014, allocations: 7.984 kB / 496 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1014, allocations: 0 / 496 MB, free: 5.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1015, allocations: 167.9 kB / 496.2 MB, free: 5.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1015, allocations: 0 / 496.2 MB, free: 5.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.1018, allocations: 16 kB / 496.2 MB, free: 5.141 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 () * 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.0007635/0.1025, allocations: 406.4 kB / 496.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1027, allocations: 59.97 kB / 496.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1027, allocations: 0 / 496.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.1028, allocations: 35.92 kB / 496.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1031, allocations: 19.92 kB / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.1035, allocations: 262.9 kB / 497 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1038, allocations: 0.7043 MB / 497.7 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.1038, allocations: 11.44 kB / 497.7 MB, free: 3.633 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1038, allocations: 0 / 497.7 MB, free: 3.633 MB / 378.7 MB Notification: Performance of Templates: time 0.002703/0.1065, allocations: 1.489 MB / 499.2 MB, free: 2.145 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches