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.0008222/0.0008221, allocations: 176.6 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: 8.941 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.0007107/0.0007107, allocations: 82.38 kB / 271.2 MB, free: 8.227 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.2982/0.2982, allocations: 43.57 MB / 363.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 12 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1018, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.002246/0.1041, allocations: 1.275 MB / 492.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000645/0.1047, allocations: 307.8 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.1048, allocations: 0 / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1051, allocations: 31.89 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.1053, allocations: 31.92 kB / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1056, allocations: 83.83 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1057, allocations: 59.83 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1058, allocations: 36.12 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.1059, allocations: 15.88 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.1059, allocations: 27.91 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.106, allocations: 0 / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.106, allocations: 35.92 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.1061, allocations: 11.98 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.1061, allocations: 45.52 kB / 492.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.1063, allocations: 59.91 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1063, allocations: 0 / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1063, allocations: 3.984 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1063, allocations: 0 / 492.8 MB, free: 8.625 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.0004256/0.1067, allocations: 383.4 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1068, allocations: 11.97 kB / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.1068, allocations: 8.844 kB / 493.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.107, allocations: 196.2 kB / 493.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.107, allocations: 4.375 kB / 493.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.107, allocations: 4.375 kB / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1072, allocations: 87.31 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1072, allocations: 3.906 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1072, allocations: 0 / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1072, allocations: 4 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1073, allocations: 43.91 kB / 493.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.1077, allocations: 389 kB / 493.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.108, allocations: 85.16 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.1081, allocations: 37.8 kB / 494.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1081, allocations: 4 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1082, allocations: 34.5 kB / 494.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.1082, allocations: 0 / 494.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006809/0.1089, allocations: 237 kB / 494.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.1089, allocations: 81.05 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.109, allocations: 161.7 kB / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1091, allocations: 29.7 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.1091, allocations: 107.9 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.1092, allocations: 31.55 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1092, allocations: 4 kB / 494.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1093, allocations: 318.8 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.969e-05/0.1094, allocations: 35.97 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.1095, allocations: 53.7 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1097, allocations: 93.61 kB / 495.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1097, allocations: 0 / 495.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002329/0.1099, allocations: 133.7 kB / 495.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1099, allocations: 15.22 kB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1099, allocations: 192 / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.11, allocations: 0 / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.1101, allocations: 31.86 kB / 495.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1101, allocations: 3.938 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.1101, allocations: 4 kB / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1101, allocations: 8 kB / 495.4 MB, free: 5.781 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.986e-05/0.1102, allocations: 129.8 kB / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.1103, allocations: 7.906 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.1106, allocations: 158.3 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1106, allocations: 0 / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1106, allocations: 3.938 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1106, allocations: 4 kB / 495.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.1112, allocations: 0.4986 MB / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1112, allocations: 3.938 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.1113, allocations: 24.3 kB / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1113, allocations: 0 / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1113, allocations: 7.984 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1113, allocations: 4 kB / 496.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1113, allocations: 0 / 496.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.1116, allocations: 303.5 kB / 496.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.1116, allocations: 92.94 kB / 496.6 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1116, allocations: 4 kB / 496.6 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1118, allocations: 12 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1118, allocations: 7.984 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1118, allocations: 4 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.1119, allocations: 119.2 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.532e-06/0.1119, allocations: 0 / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000263/0.1122, allocations: 19.94 kB / 496.8 MB, free: 4.281 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.0007616/0.1129, allocations: 406.5 kB / 497.2 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1132, allocations: 95.88 kB / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1132, allocations: 4 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.1133, allocations: 47.92 kB / 497.3 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1137, allocations: 23.98 kB / 497.4 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.1141, allocations: 284.7 kB / 497.6 MB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1144, allocations: 0.7043 MB / 498.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1144, allocations: 11.44 kB / 498.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1144, allocations: 4 kB / 498.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of Templates: time 0.002867/0.1173, allocations: 1.626 MB / 500 MB, free: 1.062 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