Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,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_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,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_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.703/1.703, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008945/0.0008946, allocations: 86.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2091/0.2091, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.6085, allocations: 86.86 MB / 0.5636 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003956/0.609, allocations: 73.75 kB / 0.5636 GB, free: 12.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01424/0.6233, allocations: 4.614 MB / 0.5682 GB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6233, allocations: 4 kB / 0.5682 GB, free: 9.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.6233, allocations: 3.938 kB / 0.5682 GB, free: 9.242 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.0004371/0.6238, allocations: 386.3 kB / 0.5685 GB, free: 8.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6238, allocations: 8.562 kB / 0.5685 GB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.6239, allocations: 7.906 kB / 0.5685 GB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.6241, allocations: 201.9 kB / 0.5687 GB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.6241, allocations: 0 / 0.5687 GB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.6242, allocations: 15.84 kB / 0.5688 GB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.6244, allocations: 83 kB / 0.5688 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6244, allocations: 0 / 0.5688 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.6244, allocations: 11.88 kB / 0.5688 GB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6244, allocations: 0 / 0.5688 GB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.6246, allocations: 43.78 kB / 0.5689 GB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.625, allocations: 382.6 kB / 0.5693 GB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.6253, allocations: 92.56 kB / 0.5693 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.6254, allocations: 4.078 kB / 0.5693 GB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.6254, allocations: 34.56 kB / 0.5694 GB, free: 7.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6254, allocations: 0 / 0.5694 GB, free: 7.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007374/0.6262, allocations: 252.4 kB / 0.5696 GB, free: 7.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.6262, allocations: 106.2 kB / 0.5697 GB, free: 7.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.6264, allocations: 119.9 kB / 0.5698 GB, free: 7.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6264, allocations: 33.69 kB / 0.5699 GB, free: 7.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.6265, allocations: 94.83 kB / 0.57 GB, free: 7.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.6265, allocations: 43 kB / 0.57 GB, free: 7.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.6265, allocations: 3.438 kB / 0.57 GB, free: 7.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6267, allocations: 314.3 kB / 0.5703 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.673e-05/0.6268, allocations: 38.97 kB / 0.5703 GB, free: 6.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.6269, allocations: 61.67 kB / 0.5704 GB, free: 6.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.627, allocations: 41.92 kB / 0.5704 GB, free: 6.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.627, allocations: 0 / 0.5704 GB, free: 6.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002381/0.6273, allocations: 131.5 kB / 0.5706 GB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6273, allocations: 10.66 kB / 0.5706 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6273, allocations: 0 / 0.5706 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6273, allocations: 0 / 0.5706 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.6274, allocations: 23.98 kB / 0.5706 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.6274, allocations: 3.953 kB / 0.5706 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.6275, allocations: 4 kB / 0.5706 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.6275, allocations: 8.172 kB / 0.5706 GB, free: 6.664 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 9.168e-05/0.6276, allocations: 125 kB / 0.5707 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.6277, allocations: 12.41 kB / 0.5707 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.628, allocations: 150.6 kB / 0.5709 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.628, allocations: 8.062 kB / 0.5709 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.628, allocations: 4 kB / 0.5709 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.628, allocations: 7.938 kB / 0.5709 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.6287, allocations: 0.5025 MB / 0.5714 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6287, allocations: 0 / 0.5714 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.6288, allocations: 24.61 kB / 0.5714 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.6288, allocations: 0 / 0.5714 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.6288, allocations: 7.141 kB / 0.5714 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6288, allocations: 4 kB / 0.5714 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6288, allocations: 7.922 kB / 0.5714 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.6291, allocations: 325.4 kB / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.6292, allocations: 91.06 kB / 0.5718 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.6292, allocations: 1.125 kB / 0.5718 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.6294, allocations: 13.19 kB / 0.5718 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.6294, allocations: 9.047 kB / 0.5719 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.6294, allocations: 4.75 kB / 0.5719 GB, free: 5.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.859e-05/0.6295, allocations: 110.5 kB / 0.572 GB, free: 5.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6295, allocations: 0 / 0.572 GB, free: 5.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.6298, allocations: 30.69 kB / 0.572 GB, free: 5.246 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.001025/0.6309, allocations: 449.9 kB / 0.5724 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.6311, allocations: 92.25 kB / 0.5725 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6311, allocations: 4 kB / 0.5725 GB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.6312, allocations: 49.23 kB / 0.5726 GB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.6315, allocations: 22.66 kB / 0.5726 GB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.632, allocations: 248.5 kB / 0.5728 GB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.6323, allocations: 0.7043 MB / 0.5735 GB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.322e-05/0.6324, allocations: 24.48 kB / 0.5735 GB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.6325, allocations: 26.55 kB / 0.5736 GB, free: 3.695 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6325, allocations: 0 / 0.5736 GB, free: 3.695 MB / 378.7 MB Notification: Performance of Templates: time 0.003966/0.6364, allocations: 1.438 MB / 0.575 GB, free: 2.266 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches