Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007185/0.0007185, allocations: 104 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2851/0.2851, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002637, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2809, allocations: 62.94 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.3872, allocations: 89.27 MB / 0.6036 GB, free: 108 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.3874, allocations: 71.95 kB / 0.6037 GB, free: 36 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01178/0.3992, allocations: 4.614 MB / 0.6082 GB, free: 11.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3993, allocations: 0 / 0.6082 GB, free: 11.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.3993, allocations: 0 / 0.6082 GB, free: 11.41 MB / 426.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.0004143/0.3997, allocations: 411.4 kB / 0.6086 GB, free: 10.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3998, allocations: 12.03 kB / 0.6086 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3998, allocations: 8.844 kB / 0.6086 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.4, allocations: 206.7 kB / 0.6088 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.4, allocations: 8.375 kB / 0.6088 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.4001, allocations: 4.359 kB / 0.6088 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.4002, allocations: 49.81 kB / 0.6089 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4002, allocations: 0 / 0.6089 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4002, allocations: 7.938 kB / 0.6089 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4002, allocations: 4 kB / 0.6089 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.4003, allocations: 27.92 kB / 0.6089 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.4007, allocations: 276.9 kB / 0.6092 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.4008, allocations: 46.55 kB / 0.6092 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.4009, allocations: 20.94 kB / 0.6093 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.4009, allocations: 4 kB / 0.6093 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.401, allocations: 34.5 kB / 0.6093 GB, free: 10.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.401, allocations: 0 / 0.6093 GB, free: 10.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005398/0.4015, allocations: 161.2 kB / 0.6094 GB, free: 9.988 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.4016, allocations: 51.41 kB / 0.6095 GB, free: 9.926 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4017, allocations: 179.1 kB / 0.6097 GB, free: 9.738 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.4017, allocations: 29.7 kB / 0.6097 GB, free: 9.703 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.4018, allocations: 100 kB / 0.6098 GB, free: 9.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.4018, allocations: 15.78 kB / 0.6098 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.4018, allocations: 0 / 0.6098 GB, free: 9.586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.4019, allocations: 330.8 kB / 0.6101 GB, free: 9.254 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.805e-05/0.402, allocations: 19.98 kB / 0.6101 GB, free: 9.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.4021, allocations: 23.98 kB / 0.6102 GB, free: 9.211 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.4022, allocations: 57.03 kB / 0.6102 GB, free: 9.152 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4022, allocations: 0 / 0.6102 GB, free: 9.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001782/0.4024, allocations: 93.5 kB / 0.6103 GB, free: 9.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4024, allocations: 10.97 kB / 0.6103 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4024, allocations: 0 / 0.6103 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.4024, allocations: 4 kB / 0.6103 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.4025, allocations: 12 kB / 0.6103 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4025, allocations: 0 / 0.6103 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.4026, allocations: 7.984 kB / 0.6103 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.4026, allocations: 0 / 0.6103 GB, free: 9.023 MB / 426.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 7.568e-05/0.4027, allocations: 129.7 kB / 0.6105 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.4027, allocations: 11.89 kB / 0.6105 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.4029, allocations: 105.9 kB / 0.6106 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4029, allocations: 0 / 0.6106 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4029, allocations: 0 / 0.6106 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.403, allocations: 0 / 0.6106 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.4034, allocations: 371.6 kB / 0.6109 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4034, allocations: 0 / 0.6109 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.4034, allocations: 15.98 kB / 0.6109 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4034, allocations: 0 / 0.6109 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4035, allocations: 0 / 0.6109 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.4035, allocations: 3.938 kB / 0.6109 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4035, allocations: 3.938 kB / 0.611 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.4037, allocations: 187.5 kB / 0.6111 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.4037, allocations: 93.06 kB / 0.6112 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.4038, allocations: 8 kB / 0.6112 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.4038, allocations: 11.94 kB / 0.6112 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.4039, allocations: 3.984 kB / 0.6112 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.4039, allocations: 4 kB / 0.6112 GB, free: 7.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.404, allocations: 131.2 kB / 0.6114 GB, free: 7.859 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.404, allocations: 0 / 0.6114 GB, free: 7.859 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.4042, allocations: 19.98 kB / 0.6114 GB, free: 7.84 MB / 426.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.0008373/0.4051, allocations: 399.2 kB / 0.6118 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.4053, allocations: 63.89 kB / 0.6118 GB, free: 7.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4053, allocations: 0 / 0.6118 GB, free: 7.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.4054, allocations: 28.11 kB / 0.6119 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.4057, allocations: 8 kB / 0.6119 GB, free: 7.492 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.4061, allocations: 238.9 kB / 0.6121 GB, free: 7.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4063, allocations: 0.7082 MB / 0.6128 GB, free: 6.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.4063, allocations: 15.44 kB / 0.6128 GB, free: 6.477 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4064, allocations: 0 / 0.6128 GB, free: 6.477 MB / 426.7 MB Notification: Performance of Templates: time 0.002745/0.4091, allocations: 1.486 MB / 0.6143 GB, free: 4.992 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches