Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001617, allocations: 181.3 kB / 17.41 MB, free: 4.406 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.294/1.294, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007358/0.0007358, allocations: 82.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2897/0.2897, allocations: 43.56 MB / 363.8 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2739/0.3784, allocations: 86.68 MB / 0.5646 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.3786, allocations: 71.97 kB / 0.5646 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009988/0.3886, allocations: 4.306 MB / 0.5688 GB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3886, allocations: 0.875 kB / 0.5688 GB, free: 11.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3887, allocations: 0 / 0.5688 GB, free: 11.41 MB / 394.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.0003283/0.389, allocations: 383.9 kB / 0.5692 GB, free: 10.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.389, allocations: 12.03 kB / 0.5692 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.3891, allocations: 8.844 kB / 0.5692 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3893, allocations: 188.2 kB / 0.5694 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.3893, allocations: 7.844 kB / 0.5694 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3893, allocations: 384 / 0.5694 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3895, allocations: 71.95 kB / 0.5695 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3895, allocations: 4.125 kB / 0.5695 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3895, allocations: 3.938 kB / 0.5695 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3895, allocations: 4 kB / 0.5695 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.3896, allocations: 23.98 kB / 0.5695 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.39, allocations: 272.9 kB / 0.5698 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3902, allocations: 50.44 kB / 0.5698 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.3902, allocations: 20.94 kB / 0.5699 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3902, allocations: 4 kB / 0.5699 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.3903, allocations: 30.84 kB / 0.5699 GB, free: 10.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3903, allocations: 0 / 0.5699 GB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005185/0.3908, allocations: 153.4 kB / 0.57 GB, free: 10.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3909, allocations: 81.11 kB / 0.5701 GB, free: 9.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.391, allocations: 137.8 kB / 0.5702 GB, free: 9.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.391, allocations: 25.7 kB / 0.5703 GB, free: 9.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.3911, allocations: 96.08 kB / 0.5704 GB, free: 9.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.3911, allocations: 23.64 kB / 0.5704 GB, free: 9.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.3911, allocations: 0 / 0.5704 GB, free: 9.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3912, allocations: 322.8 kB / 0.5707 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.3913, allocations: 19.98 kB / 0.5707 GB, free: 9.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.3914, allocations: 41.69 kB / 0.5707 GB, free: 9.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3915, allocations: 48.84 kB / 0.5708 GB, free: 9.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3915, allocations: 0 / 0.5708 GB, free: 9.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001714/0.3917, allocations: 85.64 kB / 0.5709 GB, free: 9.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3917, allocations: 7.984 kB / 0.5709 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3917, allocations: 4 kB / 0.5709 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.3917, allocations: 0 / 0.5709 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.3918, allocations: 12.28 kB / 0.5709 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3918, allocations: 0 / 0.5709 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.3919, allocations: 15.98 kB / 0.5709 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3919, allocations: 0 / 0.5709 GB, free: 9.066 MB / 394.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.453e-05/0.392, allocations: 121.8 kB / 0.571 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.392, allocations: 7.906 kB / 0.571 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.3922, allocations: 105.5 kB / 0.5711 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3922, allocations: 4 kB / 0.5711 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3922, allocations: 0.75 kB / 0.5711 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3922, allocations: 320 / 0.5711 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.3926, allocations: 354.5 kB / 0.5715 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3927, allocations: 4 kB / 0.5715 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.3927, allocations: 19.92 kB / 0.5715 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3927, allocations: 4 kB / 0.5715 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3927, allocations: 0 / 0.5715 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3927, allocations: 0 / 0.5715 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3928, allocations: 3.938 kB / 0.5715 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.393, allocations: 191.4 kB / 0.5717 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.393, allocations: 85 kB / 0.5718 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3931, allocations: 8 kB / 0.5718 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.3931, allocations: 4 kB / 0.5718 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.3932, allocations: 7.922 kB / 0.5718 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.3932, allocations: 4 kB / 0.5718 GB, free: 8.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.275e-05/0.3933, allocations: 103.2 kB / 0.5719 GB, free: 7.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3933, allocations: 4 kB / 0.5719 GB, free: 7.953 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.3935, allocations: 27.98 kB / 0.5719 GB, free: 7.926 MB / 394.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.0008377/0.3944, allocations: 451.9 kB / 0.5724 GB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.3946, allocations: 55.97 kB / 0.5724 GB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3946, allocations: 0 / 0.5724 GB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.3946, allocations: 23.98 kB / 0.5724 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3949, allocations: 19.92 kB / 0.5725 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.3952, allocations: 192.7 kB / 0.5726 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3955, allocations: 0.6887 MB / 0.5733 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.3955, allocations: 15.42 kB / 0.5733 GB, free: 6.531 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3955, allocations: 4 kB / 0.5733 GB, free: 6.527 MB / 394.7 MB Notification: Performance of Templates: time 0.002896/0.3984, allocations: 1.542 MB / 0.5748 GB, free: 4.988 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches