Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008954/0.0008955, allocations: 174.5 kB / 16.72 MB, free: 5.078 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.177/1.177, allocations: 205.4 MB / 222.9 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.0007638/0.0007638, allocations: 95.73 kB / 271.2 MB, free: 8.242 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.2715/0.2715, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 12 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09402, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.001663/0.09572, allocations: 1.263 MB / 492.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005393/0.09629, allocations: 307.8 kB / 492.4 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.09636, allocations: 0 / 492.4 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.09663, allocations: 63.84 kB / 492.4 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.0968, allocations: 55.88 kB / 492.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.09706, allocations: 79.83 kB / 492.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.09721, allocations: 59.83 kB / 492.6 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.09733, allocations: 19.97 kB / 492.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.09739, allocations: 19.92 kB / 492.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.09749, allocations: 43.83 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.09751, allocations: 0 / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/0.09758, allocations: 16 kB / 492.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.09763, allocations: 23.91 kB / 492.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.09768, allocations: 45.56 kB / 492.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.0978, allocations: 59.92 kB / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.09781, allocations: 3.938 kB / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09782, allocations: 3.938 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.09783, allocations: 4 kB / 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.0003926/0.09823, allocations: 387.4 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.09827, allocations: 12.03 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.09831, allocations: 8.844 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.09848, allocations: 196 kB / 493.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.0985, allocations: 4.375 kB / 493.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.09852, allocations: 4.375 kB / 493.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.09866, allocations: 53.81 kB / 493.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.09868, allocations: 3.984 kB / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.09869, allocations: 0 / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.0987, allocations: 0 / 493.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-05/0.0988, allocations: 31.92 kB / 493.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.09915, allocations: 296.8 kB / 493.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.09934, allocations: 42.56 kB / 493.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.09941, allocations: 20.94 kB / 493.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.09944, allocations: 7.922 kB / 493.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.09946, allocations: 30.56 kB / 493.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.09947, allocations: 4 kB / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005294/0.1, allocations: 161.3 kB / 494.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1001, allocations: 55.41 kB / 494.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1002, allocations: 190.2 kB / 494.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1002, allocations: 25.7 kB / 494.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.1003, allocations: 112 kB / 494.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1003, allocations: 7.812 kB / 494.5 MB, free: 6.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.1003, allocations: 0 / 494.5 MB, free: 6.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.1004, allocations: 326.8 kB / 494.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1005, allocations: 27.98 kB / 494.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.1006, allocations: 32.03 kB / 494.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1008, allocations: 56.83 kB / 494.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1008, allocations: 4 kB / 494.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.101, allocations: 97.52 kB / 495 MB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.101, allocations: 4 kB / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.101, allocations: 0 / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.101, allocations: 0 / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.1011, allocations: 15.98 kB / 495 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1011, allocations: 7.938 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.1011, allocations: 7.984 kB / 495.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1012, allocations: 4 kB / 495.1 MB, free: 6.387 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.482e-05/0.1012, allocations: 129.8 kB / 495.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.1013, allocations: 7.906 kB / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.1015, allocations: 117.8 kB / 495.3 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1015, allocations: 0 / 495.3 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1015, allocations: 0 / 495.3 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1016, allocations: 0 / 495.3 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.102, allocations: 366.5 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.102, allocations: 0 / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.102, allocations: 15.98 kB / 495.7 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.102, allocations: 0 / 495.7 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1021, allocations: 4.25 kB / 495.7 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1021, allocations: 7.938 kB / 495.7 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.1021, allocations: 4 kB / 495.7 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1023, allocations: 195.3 kB / 495.9 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.1023, allocations: 85.02 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1024, allocations: 0 / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1024, allocations: 15.92 kB / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1025, allocations: 4 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1025, allocations: 4 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1026, allocations: 151.9 kB / 496.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1026, allocations: 0 / 496.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.1028, allocations: 12 kB / 496.2 MB, free: 5.184 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.0007745/0.1036, allocations: 406.8 kB / 496.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1038, allocations: 67.89 kB / 496.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1038, allocations: 0 / 496.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.1039, allocations: 31.98 kB / 496.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1042, allocations: 15.92 kB / 496.7 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.1046, allocations: 250.8 kB / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1049, allocations: 0.7043 MB / 497.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.1049, allocations: 11.44 kB / 497.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1049, allocations: 0 / 497.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of Templates: time 0.002549/0.1075, allocations: 1.47 MB / 499.1 MB, free: 2.223 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches