Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009188/0.0009186, allocations: 175.9 kB / 17.41 MB, free: 4.41 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.446/1.446, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0009397/0.0009396, allocations: 93.02 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.3606/0.3606, allocations: 43.56 MB / 363.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003811, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.5015, allocations: 86.68 MB / 0.5646 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.5018, allocations: 71.95 kB / 0.5646 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.5124, allocations: 4.312 MB / 0.5688 GB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5124, allocations: 0 / 0.5688 GB, free: 11.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.5125, allocations: 0 / 0.5688 GB, free: 11.28 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.0004381/0.5129, allocations: 386.9 kB / 0.5692 GB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.513, allocations: 12.03 kB / 0.5692 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.513, allocations: 8.844 kB / 0.5692 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.5132, allocations: 192.2 kB / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5133, allocations: 384 / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.5133, allocations: 384 / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.5134, allocations: 63.97 kB / 0.5695 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5135, allocations: 4.125 kB / 0.5695 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5135, allocations: 4.5 kB / 0.5695 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5135, allocations: 0 / 0.5695 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.5136, allocations: 31.97 kB / 0.5695 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.514, allocations: 272.9 kB / 0.5698 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.5142, allocations: 50.42 kB / 0.5698 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.5143, allocations: 24.86 kB / 0.5699 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.5143, allocations: 1.5 kB / 0.5699 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5143, allocations: 30.84 kB / 0.5699 GB, free: 10.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5143, allocations: 0 / 0.5699 GB, free: 10.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005947/0.5149, allocations: 149.5 kB / 0.57 GB, free: 9.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.515, allocations: 89.03 kB / 0.5701 GB, free: 9.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5152, allocations: 131.7 kB / 0.5702 GB, free: 9.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.5152, allocations: 25.7 kB / 0.5703 GB, free: 9.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.5153, allocations: 96.12 kB / 0.5704 GB, free: 9.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.5153, allocations: 23.64 kB / 0.5704 GB, free: 9.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.5153, allocations: 4 kB / 0.5704 GB, free: 9.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5154, allocations: 322.8 kB / 0.5707 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.5155, allocations: 19.98 kB / 0.5707 GB, free: 9.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.572e-05/0.5156, allocations: 34.58 kB / 0.5707 GB, free: 9.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.5157, allocations: 61.05 kB / 0.5708 GB, free: 9.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5158, allocations: 0 / 0.5708 GB, free: 9.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001943/0.516, allocations: 89.61 kB / 0.5709 GB, free: 8.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.516, allocations: 10.62 kB / 0.5709 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.516, allocations: 0 / 0.5709 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.516, allocations: 0 / 0.5709 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.5161, allocations: 15.98 kB / 0.5709 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5161, allocations: 0 / 0.5709 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.5162, allocations: 4 kB / 0.5709 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.5162, allocations: 4 kB / 0.5709 GB, free: 8.934 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 9.229e-05/0.5163, allocations: 129.8 kB / 0.571 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.5163, allocations: 3.906 kB / 0.571 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.5166, allocations: 102.4 kB / 0.5711 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5166, allocations: 0 / 0.5711 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5166, allocations: 0 / 0.5711 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5166, allocations: 4 kB / 0.5711 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.517, allocations: 350.5 kB / 0.5715 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.517, allocations: 0 / 0.5715 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.5171, allocations: 15.94 kB / 0.5715 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5171, allocations: 4 kB / 0.5715 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5171, allocations: 4 kB / 0.5715 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5171, allocations: 0 / 0.5715 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5171, allocations: 0 / 0.5715 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.5174, allocations: 191.4 kB / 0.5717 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.5175, allocations: 85.27 kB / 0.5718 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.5175, allocations: 7.984 kB / 0.5718 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.5175, allocations: 11.94 kB / 0.5718 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.5176, allocations: 7.938 kB / 0.5718 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.5176, allocations: 7.984 kB / 0.5718 GB, free: 7.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.544e-05/0.5177, allocations: 103.3 kB / 0.5719 GB, free: 7.824 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5177, allocations: 0 / 0.5719 GB, free: 7.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000245/0.518, allocations: 27.94 kB / 0.5719 GB, free: 7.797 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.0009444/0.5189, allocations: 460.4 kB / 0.5724 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.5191, allocations: 55.97 kB / 0.5724 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5191, allocations: 0 / 0.5724 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.5192, allocations: 27.98 kB / 0.5724 GB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5195, allocations: 15.92 kB / 0.5725 GB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.5199, allocations: 196.6 kB / 0.5726 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.5202, allocations: 0.6887 MB / 0.5733 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.5202, allocations: 15.44 kB / 0.5733 GB, free: 6.391 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5202, allocations: 0 / 0.5733 GB, free: 6.391 MB / 394.7 MB Notification: Performance of Templates: time 0.003424/0.5237, allocations: 1.533 MB / 0.5748 GB, free: 4.859 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches