Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008896/0.0008898, allocations: 173.5 kB / 16.72 MB, free: 5.082 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.202/1.202, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007174/0.0007177, allocations: 90.41 kB / 271.2 MB, free: 8.254 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.2886/0.2886, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09373, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.001717/0.09548, allocations: 1.271 MB / 492.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004986/0.09599, allocations: 311.7 kB / 492.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.09605, allocations: 0 / 492.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.0963, allocations: 95.8 kB / 492.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.09644, allocations: 59.8 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.09668, allocations: 91.81 kB / 492.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.09682, allocations: 63.83 kB / 492.7 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.09692, allocations: 32.12 kB / 492.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.09698, allocations: 31.86 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.09707, allocations: 51.81 kB / 492.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.09709, allocations: 0 / 492.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.09716, allocations: 27.98 kB / 492.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.09721, allocations: 15.92 kB / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.09727, allocations: 61.45 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.09739, allocations: 75.88 kB / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.0974, allocations: 0 / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09741, allocations: 0 / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.09741, allocations: 0 / 493 MB, free: 8.703 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.0004071/0.09782, allocations: 411.2 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.09787, allocations: 8.031 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.09791, allocations: 12.75 kB / 493.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.09809, allocations: 200.1 kB / 493.6 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.09811, allocations: 12.38 kB / 493.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.09814, allocations: 4.375 kB / 493.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.0983, allocations: 79.27 kB / 493.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.09832, allocations: 4 kB / 493.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.09833, allocations: 0 / 493.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.09834, allocations: 0 / 493.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.09847, allocations: 47.91 kB / 493.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.09892, allocations: 400.9 kB / 494.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.09919, allocations: 93.16 kB / 494.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.09927, allocations: 29.8 kB / 494.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.0993, allocations: 4 kB / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.09933, allocations: 30.56 kB / 494.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.09934, allocations: 4 kB / 494.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006785/0.1, allocations: 256.7 kB / 494.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1001, allocations: 81.11 kB / 494.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.1003, allocations: 238.3 kB / 494.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1003, allocations: 25.7 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.1004, allocations: 111.9 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.1004, allocations: 35.53 kB / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1004, allocations: 0 / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1005, allocations: 326.8 kB / 495.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.1006, allocations: 39.92 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.1007, allocations: 53.69 kB / 495.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.1009, allocations: 97.8 kB / 495.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1009, allocations: 0 / 495.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002339/0.1012, allocations: 141.3 kB / 495.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1012, allocations: 4 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1012, allocations: 0 / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1012, allocations: 4 kB / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.1013, allocations: 23.98 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1013, allocations: 7.938 kB / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1014, allocations: 4 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1014, allocations: 4 kB / 495.7 MB, free: 5.711 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.9e-05/0.1015, allocations: 137.8 kB / 495.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.1015, allocations: 11.91 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.1018, allocations: 158.7 kB / 496 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1019, allocations: 0.625 kB / 496 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1019, allocations: 11.92 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1019, allocations: 4 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.1025, allocations: 0.5025 MB / 496.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1025, allocations: 3.984 kB / 496.5 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.1026, allocations: 27.88 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1026, allocations: 4 kB / 496.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1026, allocations: 8.203 kB / 496.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1026, allocations: 4 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1026, allocations: 3.938 kB / 496.6 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.1029, allocations: 303.4 kB / 496.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.103, allocations: 96.94 kB / 497 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.103, allocations: 4 kB / 497 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1031, allocations: 4 kB / 497 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1031, allocations: 11.98 kB / 497 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1031, allocations: 4 kB / 497 MB, free: 4.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.1033, allocations: 172.2 kB / 497.2 MB, free: 4.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1033, allocations: 0 / 497.2 MB, free: 4.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000263/0.1036, allocations: 24 kB / 497.2 MB, free: 4.109 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.0007688/0.1043, allocations: 410.6 kB / 497.6 MB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1046, allocations: 83.95 kB / 497.7 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1046, allocations: 4 kB / 497.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1047, allocations: 47.91 kB / 497.7 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1051, allocations: 27.86 kB / 497.8 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.1056, allocations: 353 kB / 498.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1058, allocations: 0.7199 MB / 498.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1059, allocations: 11.44 kB / 498.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1059, allocations: 0 / 498.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of Templates: time 0.002985/0.1089, allocations: 1.766 MB / 0.4889 GB, free: 0.6836 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches