Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.921/1.921, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001723/0.001723, allocations: 92.42 kB / 270.9 MB, free: 8.395 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.5395/0.5395, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004841, allocations: 19.98 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4685/0.6007, allocations: 87.21 MB / 0.5639 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.6011, allocations: 75.95 kB / 0.564 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01858/0.6197, allocations: 4.32 MB / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6197, allocations: 3.062 kB / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.6198, allocations: 0 / 0.5682 GB, free: 11.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006112/0.6204, allocations: 414.5 kB / 0.5686 GB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.6205, allocations: 12.56 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.6205, allocations: 11.34 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.6209, allocations: 206.9 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.6209, allocations: 0 / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.6209, allocations: 5.766 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.6212, allocations: 61.67 kB / 0.5689 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6212, allocations: 0 / 0.5689 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6212, allocations: 1.031 kB / 0.5689 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.6213, allocations: 8 kB / 0.5689 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.6215, allocations: 48.45 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.6222, allocations: 328.6 kB / 0.5692 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.6224, allocations: 50.56 kB / 0.5693 GB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.6224, allocations: 0 / 0.5693 GB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.6224, allocations: 34.64 kB / 0.5693 GB, free: 9.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.6225, allocations: 7.938 kB / 0.5693 GB, free: 9.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001321/0.6238, allocations: 261.8 kB / 0.5696 GB, free: 9.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.6239, allocations: 59.33 kB / 0.5696 GB, free: 9.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.6241, allocations: 168.2 kB / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.6242, allocations: 29.7 kB / 0.5698 GB, free: 9.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.6243, allocations: 166.6 kB / 0.57 GB, free: 9.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.6243, allocations: 27.64 kB / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.6243, allocations: 0 / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6245, allocations: 314.8 kB / 0.5703 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.6248, allocations: 43.97 kB / 0.5704 GB, free: 8.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.625, allocations: 44.05 kB / 0.5704 GB, free: 8.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.6252, allocations: 60.09 kB / 0.5705 GB, free: 8.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6253, allocations: 0 / 0.5705 GB, free: 8.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005439/0.6258, allocations: 133.6 kB / 0.5706 GB, free: 8.379 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.6259, allocations: 12 kB / 0.5706 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6259, allocations: 0 / 0.5706 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6259, allocations: 3.953 kB / 0.5706 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.6261, allocations: 27.92 kB / 0.5706 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.6261, allocations: 0 / 0.5706 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.6263, allocations: 12.86 kB / 0.5706 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.6263, allocations: 4 kB / 0.5706 GB, free: 8.32 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 (7): * Single equations (assignments): 7 * 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 0.0001486/0.6265, allocations: 129.8 kB / 0.5708 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.6265, allocations: 7.906 kB / 0.5708 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.6272, allocations: 154.3 kB / 0.5709 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6272, allocations: 4 kB / 0.5709 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.6272, allocations: 3.953 kB / 0.5709 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6272, allocations: 288 / 0.5709 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.6282, allocations: 442.4 kB / 0.5713 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6283, allocations: 0 / 0.5713 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.6284, allocations: 23.98 kB / 0.5714 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.6285, allocations: 3.984 kB / 0.5714 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.6285, allocations: 11.94 kB / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.6285, allocations: 4 kB / 0.5714 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6285, allocations: 0.9375 kB / 0.5714 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.6292, allocations: 239.2 kB / 0.5716 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.6293, allocations: 96.95 kB / 0.5717 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.6293, allocations: 0 / 0.5717 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6295, allocations: 19.94 kB / 0.5717 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.6296, allocations: 3.984 kB / 0.5717 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.6296, allocations: 8 kB / 0.5717 GB, free: 7.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.6298, allocations: 144.8 kB / 0.5719 GB, free: 6.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6298, allocations: 0 / 0.5719 GB, free: 6.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000346/0.6302, allocations: 23.94 kB / 0.5719 GB, free: 6.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 (7): * Single equations (assignments): 7 * 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.001196/0.6314, allocations: 424.8 kB / 0.5723 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005903/0.632, allocations: 107.9 kB / 0.5724 GB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.632, allocations: 0 / 0.5724 GB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.6323, allocations: 64.09 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.6326, allocations: 11.98 kB / 0.5725 GB, free: 6.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.6334, allocations: 293 kB / 0.5728 GB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.6337, allocations: 0.7121 MB / 0.5735 GB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.6338, allocations: 15.44 kB / 0.5735 GB, free: 5.359 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6338, allocations: 3.938 kB / 0.5735 GB, free: 5.355 MB / 394.7 MB Notification: Performance of Templates: time 0.00519/0.639, allocations: 1.768 MB / 0.5752 GB, free: 3.586 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches