Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 173.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.203/1.203, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007102/0.0007101, allocations: 85.55 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.2797/0.2797, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09577, allocations: 58.83 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001668/0.09748, allocations: 1.301 MB / 492.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005248/0.09802, allocations: 331.7 kB / 492.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.09808, allocations: 4 kB / 492.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.09856, allocations: 443.2 kB / 492.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.09884, allocations: 239.5 kB / 493.1 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.09918, allocations: 139.8 kB / 493.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.09935, allocations: 127.7 kB / 493.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.09945, allocations: 28.16 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.09955, allocations: 103.7 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.09973, allocations: 163.7 kB / 493.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.09976, allocations: 0 / 493.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.896e-05/0.09984, allocations: 31.98 kB / 493.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.09993, allocations: 83.75 kB / 493.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.1, allocations: 112.8 kB / 493.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1002, allocations: 184 kB / 494.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1002, allocations: 3.938 kB / 494.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1002, allocations: 0 / 494.1 MB, free: 7.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1002, allocations: 0 / 494.1 MB, free: 7.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005596/0.1008, allocations: 0.5911 MB / 494.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1008, allocations: 8.031 kB / 494.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.1009, allocations: 40.47 kB / 494.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1011, allocations: 300.1 kB / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.1011, allocations: 384 / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1012, allocations: 8.375 kB / 495 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1013, allocations: 57.61 kB / 495.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1013, allocations: 0 / 495.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1013, allocations: 8 kB / 495.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1014, allocations: 3.984 kB / 495.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.1015, allocations: 35.97 kB / 495.1 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.1019, allocations: 400.6 kB / 495.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1021, allocations: 46.56 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1022, allocations: 20.94 kB / 495.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1022, allocations: 0 / 495.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1022, allocations: 34.5 kB / 495.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1022, allocations: 0 / 495.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000558/0.1028, allocations: 255.9 kB / 495.9 MB, free: 5.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1028, allocations: 51.41 kB / 495.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.1035, allocations: 0.8652 MB / 496.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1035, allocations: 25.7 kB / 496.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1037, allocations: 224 kB / 497 MB, free: 4.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1037, allocations: 19.75 kB / 497 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.1037, allocations: 0 / 497 MB, free: 4.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1038, allocations: 358.8 kB / 497.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.1039, allocations: 23.98 kB / 497.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.104, allocations: 23.98 kB / 497.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1041, allocations: 64.83 kB / 497.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1042, allocations: 0 / 497.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002043/0.1044, allocations: 129.1 kB / 497.6 MB, free: 3.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1044, allocations: 8 kB / 497.6 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.1044, allocations: 0 / 497.6 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1044, allocations: 0 / 497.6 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.1045, allocations: 19.92 kB / 497.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1045, allocations: 4 kB / 497.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.1046, allocations: 11.94 kB / 497.7 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1046, allocations: 0 / 497.7 MB, free: 3.812 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 0.0001682/0.1047, allocations: 217.8 kB / 497.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.1048, allocations: 47.44 kB / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.1051, allocations: 145 kB / 498.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1051, allocations: 288 / 498.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1051, allocations: 320 / 498.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1051, allocations: 3.938 kB / 498.1 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.1056, allocations: 482.5 kB / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1056, allocations: 0 / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.1057, allocations: 12 kB / 498.5 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1057, allocations: 0 / 498.5 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1057, allocations: 11.94 kB / 498.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1057, allocations: 0 / 498.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1057, allocations: 0 / 498.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1059, allocations: 226.9 kB / 498.8 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.106, allocations: 112.6 kB / 498.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.106, allocations: 7.938 kB / 498.9 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.1061, allocations: 8 kB / 498.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1062, allocations: 7.984 kB / 498.9 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1062, allocations: 0 / 498.9 MB, free: 2.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005306/0.1067, allocations: 0.6511 MB / 499.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.1067, allocations: 3.938 kB / 499.6 MB, free: 1.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.107, allocations: 27.94 kB / 499.6 MB, free: 1.766 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.0007553/0.1077, allocations: 405.9 kB / 500 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1079, allocations: 59.91 kB / 0.4883 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1079, allocations: 0 / 0.4883 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.108, allocations: 35.98 kB / 0.4884 GB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1084, allocations: 25.89 kB / 0.4884 GB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/0.1094, allocations: 0.8663 MB / 0.4892 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1478/0.2572, allocations: 0.8164 MB / 0.49 GB, free: 42.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.2572, allocations: 16.97 kB / 0.49 GB, free: 42.66 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2572, allocations: 4.938 kB / 0.4901 GB, free: 42.66 MB / 378.7 MB Notification: Performance of Templates: time 0.006302/0.2635, allocations: 3.636 MB / 0.4936 GB, free: 42.06 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches