Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 189.9 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007517/0.0007516, allocations: 99.3 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2895/0.2895, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002389/0.0002389, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2612, allocations: 62.97 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3638, allocations: 89.49 MB / 0.6039 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.364, allocations: 75.97 kB / 0.6039 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01362/0.3776, allocations: 5.504 MB / 0.6093 GB, free: 10.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3777, allocations: 0 / 0.6093 GB, free: 10.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3777, allocations: 7.984 kB / 0.6093 GB, free: 10.31 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004805/0.3782, allocations: 439.2 kB / 0.6097 GB, free: 9.832 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3782, allocations: 8.031 kB / 0.6097 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.3783, allocations: 24.75 kB / 0.6098 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3785, allocations: 222.4 kB / 0.61 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3786, allocations: 4.375 kB / 0.61 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3786, allocations: 8.281 kB / 0.61 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3788, allocations: 70.17 kB / 0.6101 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3788, allocations: 4.125 kB / 0.6101 GB, free: 9.457 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3788, allocations: 7.938 kB / 0.6101 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3788, allocations: 4 kB / 0.6101 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3789, allocations: 43.95 kB / 0.6101 GB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.3793, allocations: 340.6 kB / 0.6104 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3795, allocations: 66.55 kB / 0.6105 GB, free: 8.945 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.3795, allocations: 30.03 kB / 0.6105 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3796, allocations: 4 kB / 0.6105 GB, free: 8.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3796, allocations: 34.5 kB / 0.6106 GB, free: 8.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3796, allocations: 0 / 0.6106 GB, free: 8.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009517/0.3806, allocations: 324.9 kB / 0.6109 GB, free: 8.543 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3806, allocations: 55.41 kB / 0.6109 GB, free: 8.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3808, allocations: 240.1 kB / 0.6112 GB, free: 8.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3809, allocations: 29.7 kB / 0.6112 GB, free: 8.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.3809, allocations: 108.4 kB / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.381, allocations: 51.28 kB / 0.6113 GB, free: 8.031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.381, allocations: 4 kB / 0.6114 GB, free: 8.027 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3811, allocations: 330.8 kB / 0.6117 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.3812, allocations: 35.98 kB / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.3813, allocations: 39.97 kB / 0.6117 GB, free: 7.621 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3815, allocations: 100.8 kB / 0.6118 GB, free: 7.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3815, allocations: 4 kB / 0.6118 GB, free: 7.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002372/0.3817, allocations: 141.5 kB / 0.612 GB, free: 7.371 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3817, allocations: 4 kB / 0.612 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3818, allocations: 0 / 0.612 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.3818, allocations: 4 kB / 0.612 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3819, allocations: 27.98 kB / 0.612 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3819, allocations: 3.938 kB / 0.612 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.382, allocations: 15.86 kB / 0.612 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.382, allocations: 8 kB / 0.612 GB, free: 7.309 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 (13): * Single equations (assignments): 13 * 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.062e-05/0.3821, allocations: 129.8 kB / 0.6122 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.3821, allocations: 15.8 kB / 0.6122 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.3824, allocations: 179 kB / 0.6123 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3825, allocations: 0 / 0.6123 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3825, allocations: 7.938 kB / 0.6124 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3825, allocations: 4 kB / 0.6124 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.3831, allocations: 0.5029 MB / 0.6128 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3831, allocations: 0 / 0.6128 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.3832, allocations: 23.98 kB / 0.6129 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.3832, allocations: 8.031 kB / 0.6129 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3832, allocations: 0 / 0.6129 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3833, allocations: 0 / 0.6129 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3833, allocations: 7.938 kB / 0.6129 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3835, allocations: 248.1 kB / 0.6131 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.3836, allocations: 97 kB / 0.6132 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3836, allocations: 4 kB / 0.6132 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.3837, allocations: 11.98 kB / 0.6132 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.3838, allocations: 7.984 kB / 0.6132 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3838, allocations: 4 kB / 0.6132 GB, free: 5.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.3839, allocations: 181.2 kB / 0.6134 GB, free: 5.789 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3839, allocations: 4 kB / 0.6134 GB, free: 5.785 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.3842, allocations: 39.94 kB / 0.6135 GB, free: 5.746 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 (13): * Single equations (assignments): 13 * 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.0008945/0.3851, allocations: 458.6 kB / 0.6139 GB, free: 5.461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.3854, allocations: 103.8 kB / 0.614 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3854, allocations: 0 / 0.614 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3855, allocations: 59.91 kB / 0.614 GB, free: 5.305 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.3858, allocations: 23.98 kB / 0.6141 GB, free: 5.281 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.3864, allocations: 388.5 kB / 0.6144 GB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3866, allocations: 0.7191 MB / 0.6151 GB, free: 4.125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.3867, allocations: 19.44 kB / 0.6152 GB, free: 4.105 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3867, allocations: 0 / 0.6152 GB, free: 4.105 MB / 426.7 MB Notification: Performance of Templates: time 0.003305/0.39, allocations: 2.123 MB / 0.6172 GB, free: 1.98 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches