Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, 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.939/1.939, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001104/0.001104, allocations: 76.39 kB / 270.9 MB, free: 8.371 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.5319/0.5319, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000651/0.000651, allocations: 8 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1288, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.6095, allocations: 86.37 MB / 0.5631 GB, free: 164 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.6098, allocations: 83.42 kB / 0.5632 GB, free: 84 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.6265, allocations: 3.925 MB / 0.567 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6266, allocations: 0 / 0.567 GB, free: 12.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.6266, allocations: 7.938 kB / 0.567 GB, free: 12.19 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.0005282/0.6271, allocations: 403.6 kB / 0.5674 GB, free: 11.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6272, allocations: 12.02 kB / 0.5674 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.6273, allocations: 11.75 kB / 0.5674 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.6275, allocations: 210.3 kB / 0.5676 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.6276, allocations: 4 kB / 0.5676 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.6276, allocations: 4 kB / 0.5676 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.6278, allocations: 45.69 kB / 0.5677 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6278, allocations: 0 / 0.5677 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.6278, allocations: 4 kB / 0.5677 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6278, allocations: 6.188 kB / 0.5677 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.628, allocations: 21.02 kB / 0.5677 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.6285, allocations: 296.8 kB / 0.568 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.6288, allocations: 42.56 kB / 0.568 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.6288, allocations: 3.938 kB / 0.568 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.6288, allocations: 34.56 kB / 0.568 GB, free: 10.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.6288, allocations: 8 kB / 0.5681 GB, free: 10.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008043/0.6297, allocations: 153.3 kB / 0.5682 GB, free: 10.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.6297, allocations: 59.41 kB / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.63, allocations: 185.3 kB / 0.5684 GB, free: 10.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.63, allocations: 25.7 kB / 0.5685 GB, free: 10.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.6301, allocations: 162.5 kB / 0.5686 GB, free: 10.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.6302, allocations: 19.8 kB / 0.5686 GB, free: 10.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.6302, allocations: 0 / 0.5686 GB, free: 10.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6303, allocations: 315 kB / 0.5689 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.6305, allocations: 27.98 kB / 0.569 GB, free: 9.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.6306, allocations: 19.98 kB / 0.569 GB, free: 9.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.6307, allocations: 23.98 kB / 0.569 GB, free: 9.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6307, allocations: 0 / 0.569 GB, free: 9.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003022/0.631, allocations: 85.67 kB / 0.5691 GB, free: 9.855 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6311, allocations: 4 kB / 0.5691 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6311, allocations: 0 / 0.5691 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6311, allocations: 3.938 kB / 0.5691 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6312, allocations: 16.86 kB / 0.5691 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6313, allocations: 0 / 0.5691 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.6313, allocations: 12 kB / 0.5691 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.6314, allocations: 3.953 kB / 0.5691 GB, free: 9.816 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 0.0001273/0.6315, allocations: 129.8 kB / 0.5692 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.6316, allocations: 7.906 kB / 0.5693 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.6319, allocations: 106.2 kB / 0.5694 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.632, allocations: 0 / 0.5694 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.632, allocations: 0 / 0.5694 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.632, allocations: 7.938 kB / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.6327, allocations: 370.5 kB / 0.5697 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6327, allocations: 0.75 kB / 0.5697 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.6328, allocations: 19.98 kB / 0.5697 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6329, allocations: 0 / 0.5697 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.6329, allocations: 4 kB / 0.5697 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6329, allocations: 0 / 0.5697 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6329, allocations: 0 / 0.5697 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.6333, allocations: 199.3 kB / 0.5699 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.6334, allocations: 89 kB / 0.57 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.6334, allocations: 3.938 kB / 0.57 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.6335, allocations: 8 kB / 0.57 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.6336, allocations: 8.266 kB / 0.57 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.6336, allocations: 4 kB / 0.57 GB, free: 8.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.6338, allocations: 155.8 kB / 0.5702 GB, free: 8.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6338, allocations: 4 kB / 0.5702 GB, free: 8.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.6342, allocations: 23.94 kB / 0.5702 GB, free: 8.598 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.001149/0.6353, allocations: 419.2 kB / 0.5706 GB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.6357, allocations: 55.91 kB / 0.5707 GB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6357, allocations: 4 kB / 0.5707 GB, free: 8.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.6358, allocations: 23.98 kB / 0.5707 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.6362, allocations: 19.92 kB / 0.5707 GB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.6368, allocations: 265.1 kB / 0.571 GB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.6371, allocations: 0.7043 MB / 0.5716 GB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.6372, allocations: 19.44 kB / 0.5717 GB, free: 7.156 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6372, allocations: 0 / 0.5717 GB, free: 7.156 MB / 394.7 MB Notification: Performance of Templates: time 0.004526/0.6417, allocations: 1.542 MB / 0.5732 GB, free: 5.617 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches