Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009596/0.0009594, allocations: 192.5 kB / 16.78 MB, free: 4.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 226.5 MB / 244.1 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009834/0.0009832, allocations: 98.19 kB / 296.1 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3151/0.3151, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002496, allocations: 11.98 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2841, allocations: 62.95 MB / 0.5165 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3863, allocations: 89.28 MB / 0.6037 GB, free: 68 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.3866, allocations: 72.02 kB / 0.6037 GB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.3987, allocations: 4.552 MB / 0.6082 GB, free: 11.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3987, allocations: 0 / 0.6082 GB, free: 11.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3988, allocations: 0 / 0.6082 GB, free: 11.44 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.0004469/0.3992, allocations: 419.4 kB / 0.6086 GB, free: 10.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3993, allocations: 8.031 kB / 0.6086 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.3993, allocations: 12.78 kB / 0.6086 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3995, allocations: 204 kB / 0.6088 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.3996, allocations: 384 / 0.6088 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3996, allocations: 384 / 0.6088 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3997, allocations: 58.17 kB / 0.6088 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3997, allocations: 4.188 kB / 0.6088 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3997, allocations: 3.938 kB / 0.6088 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3998, allocations: 8 kB / 0.6089 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.3999, allocations: 23.98 kB / 0.6089 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.4002, allocations: 272.9 kB / 0.6091 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.4004, allocations: 50.5 kB / 0.6092 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.4005, allocations: 20.94 kB / 0.6092 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.4005, allocations: 0 / 0.6092 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.4006, allocations: 30.56 kB / 0.6092 GB, free: 10.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.4006, allocations: 0 / 0.6092 GB, free: 10.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005332/0.4011, allocations: 161.2 kB / 0.6094 GB, free: 10.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.4012, allocations: 51.41 kB / 0.6094 GB, free: 9.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.4013, allocations: 164.4 kB / 0.6096 GB, free: 9.789 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.4013, allocations: 29.7 kB / 0.6096 GB, free: 9.754 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.4014, allocations: 96.12 kB / 0.6097 GB, free: 9.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.4014, allocations: 23.73 kB / 0.6097 GB, free: 9.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.4014, allocations: 0 / 0.6097 GB, free: 9.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4016, allocations: 330.7 kB / 0.6101 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.4016, allocations: 19.98 kB / 0.6101 GB, free: 9.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-05/0.4017, allocations: 27.98 kB / 0.6101 GB, free: 9.254 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.4018, allocations: 48.83 kB / 0.6101 GB, free: 9.203 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4018, allocations: 0 / 0.6101 GB, free: 9.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001753/0.402, allocations: 93.58 kB / 0.6102 GB, free: 9.105 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.402, allocations: 4 kB / 0.6102 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4021, allocations: 0 / 0.6102 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4021, allocations: 288 / 0.6102 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.4021, allocations: 19.92 kB / 0.6103 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4021, allocations: 4 kB / 0.6103 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.4022, allocations: 4 kB / 0.6103 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.4022, allocations: 4 kB / 0.6103 GB, free: 9.07 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 9.12e-05/0.4023, allocations: 125.8 kB / 0.6104 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.4023, allocations: 11.89 kB / 0.6104 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.4026, allocations: 93.97 kB / 0.6105 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4026, allocations: 0 / 0.6105 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4026, allocations: 11.94 kB / 0.6105 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4026, allocations: 0 / 0.6105 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.403, allocations: 363.9 kB / 0.6108 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.403, allocations: 7.938 kB / 0.6109 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.4031, allocations: 12 kB / 0.6109 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4031, allocations: 3.984 kB / 0.6109 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.4031, allocations: 4 kB / 0.6109 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4031, allocations: 3.938 kB / 0.6109 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4031, allocations: 0 / 0.6109 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.4034, allocations: 191.3 kB / 0.6111 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.4034, allocations: 89 kB / 0.6111 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.4034, allocations: 4 kB / 0.6112 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.4035, allocations: 7.938 kB / 0.6112 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.4036, allocations: 7.984 kB / 0.6112 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4036, allocations: 0 / 0.6112 GB, free: 8.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.4037, allocations: 126.1 kB / 0.6113 GB, free: 7.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4037, allocations: 0 / 0.6113 GB, free: 7.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.4039, allocations: 24 kB / 0.6113 GB, free: 7.906 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.0008554/0.4048, allocations: 399.1 kB / 0.6117 GB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.405, allocations: 55.91 kB / 0.6117 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.405, allocations: 0 / 0.6117 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.4051, allocations: 27.98 kB / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4054, allocations: 19.97 kB / 0.6118 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.4058, allocations: 231.3 kB / 0.612 GB, free: 7.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.406, allocations: 0.6926 MB / 0.6127 GB, free: 6.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.4061, allocations: 11.44 kB / 0.6127 GB, free: 6.559 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4061, allocations: 0 / 0.6127 GB, free: 6.559 MB / 426.7 MB Notification: Performance of Templates: time 0.00278/0.4089, allocations: 1.457 MB / 0.6141 GB, free: 5.105 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches