Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009681/0.0009681, allocations: 194.6 kB / 16.79 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.5 MB / 244.1 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008433/0.0008431, allocations: 98.72 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3284/0.3284, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002534/0.0002535, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3233, allocations: 62.96 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.4333, allocations: 89.48 MB / 0.6039 GB, free: 15.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4335, allocations: 75.95 kB / 0.6039 GB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.4469, allocations: 5.146 MB / 0.609 GB, free: 10.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4469, allocations: 0 / 0.609 GB, free: 10.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4469, allocations: 4 kB / 0.609 GB, free: 10.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000481/0.4474, allocations: 431.3 kB / 0.6094 GB, free: 10.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4475, allocations: 12.88 kB / 0.6094 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.4475, allocations: 12.75 kB / 0.6094 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.4478, allocations: 208.8 kB / 0.6096 GB, free: 9.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4478, allocations: 384 / 0.6096 GB, free: 9.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4478, allocations: 8.359 kB / 0.6096 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.448, allocations: 54.19 kB / 0.6097 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.448, allocations: 192 / 0.6097 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.448, allocations: 11.94 kB / 0.6097 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4481, allocations: 0 / 0.6097 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.4482, allocations: 31.97 kB / 0.6097 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.4486, allocations: 312.7 kB / 0.61 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.4487, allocations: 54.5 kB / 0.61 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.4488, allocations: 16.94 kB / 0.6101 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.4488, allocations: 0 / 0.6101 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.4488, allocations: 38.56 kB / 0.6101 GB, free: 9.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4489, allocations: 0 / 0.6101 GB, free: 9.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000881/0.4497, allocations: 258.7 kB / 0.6103 GB, free: 9.055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.4498, allocations: 51.41 kB / 0.6104 GB, free: 8.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.45, allocations: 212.1 kB / 0.6106 GB, free: 8.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.4501, allocations: 25.7 kB / 0.6106 GB, free: 8.746 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.4501, allocations: 112 kB / 0.6107 GB, free: 8.633 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.4501, allocations: 23.7 kB / 0.6108 GB, free: 8.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.4502, allocations: 7.938 kB / 0.6108 GB, free: 8.602 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4503, allocations: 326.8 kB / 0.6111 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.4504, allocations: 32.06 kB / 0.6111 GB, free: 8.242 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.4505, allocations: 47.83 kB / 0.6111 GB, free: 8.195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.4507, allocations: 81.05 kB / 0.6112 GB, free: 8.113 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4507, allocations: 0 / 0.6112 GB, free: 8.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.4509, allocations: 125.5 kB / 0.6113 GB, free: 7.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4509, allocations: 8 kB / 0.6114 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4509, allocations: 0 / 0.6114 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.451, allocations: 0 / 0.6114 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4511, allocations: 19.98 kB / 0.6114 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4511, allocations: 3.938 kB / 0.6114 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.4511, allocations: 11.98 kB / 0.6114 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4512, allocations: 3.984 kB / 0.6114 GB, free: 7.938 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 (8): * Single equations (assignments): 8 * 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.0001029/0.4513, allocations: 137.8 kB / 0.6115 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.4513, allocations: 11.91 kB / 0.6115 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.4516, allocations: 135 kB / 0.6117 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4516, allocations: 3.984 kB / 0.6117 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4516, allocations: 4 kB / 0.6117 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4516, allocations: 4 kB / 0.6117 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.4522, allocations: 443.2 kB / 0.6121 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4522, allocations: 0 / 0.6121 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.4523, allocations: 19.94 kB / 0.6121 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4523, allocations: 8.031 kB / 0.6121 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4523, allocations: 7.922 kB / 0.6121 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4523, allocations: 0 / 0.6121 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4523, allocations: 0 / 0.6121 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.4526, allocations: 220.5 kB / 0.6123 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.4527, allocations: 100.9 kB / 0.6124 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.4527, allocations: 7.938 kB / 0.6124 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.4528, allocations: 4 kB / 0.6124 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4528, allocations: 11.92 kB / 0.6125 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.4529, allocations: 0 / 0.6125 GB, free: 6.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.453, allocations: 159.2 kB / 0.6126 GB, free: 6.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.453, allocations: 4 kB / 0.6126 GB, free: 6.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.4533, allocations: 35.92 kB / 0.6126 GB, free: 6.535 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0009411/0.4542, allocations: 460 kB / 0.6131 GB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.4545, allocations: 83.89 kB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4545, allocations: 0 / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.4546, allocations: 39.98 kB / 0.6132 GB, free: 6.129 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4549, allocations: 21 kB / 0.6132 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.4554, allocations: 320 kB / 0.6135 GB, free: 5.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4557, allocations: 0.716 MB / 0.6142 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.4558, allocations: 15.44 kB / 0.6142 GB, free: 5.004 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4558, allocations: 0 / 0.6142 GB, free: 5.004 MB / 426.7 MB Notification: Performance of Templates: time 0.003633/0.4594, allocations: 1.871 MB / 0.6161 GB, free: 3.133 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches