Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 185.4 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.928/1.928, 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.001112/0.001112, allocations: 92.47 kB / 270.9 MB, free: 8.391 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.6093/0.6093, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006333/0.0006335, allocations: 20 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1252, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.6, allocations: 87.48 MB / 0.5642 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6003, allocations: 71.97 kB / 0.5642 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.6187, allocations: 4.599 MB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6187, allocations: 0 / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.6188, allocations: 0 / 0.5687 GB, free: 10.48 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.0005636/0.6193, allocations: 391.2 kB / 0.5691 GB, free: 10.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6194, allocations: 12.5 kB / 0.5691 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.6195, allocations: 15.34 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.6197, allocations: 195.4 kB / 0.5693 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.6198, allocations: 5.016 kB / 0.5693 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.6198, allocations: 11.98 kB / 0.5693 GB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.6201, allocations: 79.33 kB / 0.5694 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6201, allocations: 4 kB / 0.5694 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.6201, allocations: 1.031 kB / 0.5694 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6202, allocations: 0 / 0.5694 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.6204, allocations: 47.91 kB / 0.5694 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.621, allocations: 312.8 kB / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.6212, allocations: 50.56 kB / 0.5698 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.6213, allocations: 0 / 0.5698 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6213, allocations: 34.56 kB / 0.5698 GB, free: 9.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6213, allocations: 6.938 kB / 0.5698 GB, free: 9.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001274/0.6226, allocations: 269.3 kB / 0.5701 GB, free: 8.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.6227, allocations: 81.05 kB / 0.5702 GB, free: 8.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.6228, allocations: 130.9 kB / 0.5703 GB, free: 8.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.6229, allocations: 25.7 kB / 0.5703 GB, free: 8.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.623, allocations: 162.5 kB / 0.5705 GB, free: 8.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.623, allocations: 27.64 kB / 0.5705 GB, free: 8.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.623, allocations: 0 / 0.5705 GB, free: 8.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6231, allocations: 319.2 kB / 0.5708 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.6234, allocations: 43.97 kB / 0.5708 GB, free: 8.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.6236, allocations: 65.67 kB / 0.5709 GB, free: 8.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.6239, allocations: 43.97 kB / 0.5709 GB, free: 7.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6239, allocations: 0 / 0.5709 GB, free: 7.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005235/0.6244, allocations: 137.6 kB / 0.5711 GB, free: 7.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6245, allocations: 4 kB / 0.5711 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.6245, allocations: 4 kB / 0.5711 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6245, allocations: 7.891 kB / 0.5711 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.6247, allocations: 23.98 kB / 0.5711 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6247, allocations: 0 / 0.5711 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.6249, allocations: 19.98 kB / 0.5711 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.6249, allocations: 0.875 kB / 0.5711 GB, free: 7.789 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.0001212/0.625, allocations: 121.8 kB / 0.5712 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.6251, allocations: 7.906 kB / 0.5713 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006222/0.6257, allocations: 154.3 kB / 0.5714 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6257, allocations: 0 / 0.5714 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.6258, allocations: 7.953 kB / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6258, allocations: 0 / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008769/0.6267, allocations: 426.4 kB / 0.5718 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6267, allocations: 4 kB / 0.5718 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.6269, allocations: 27.98 kB / 0.5718 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6269, allocations: 0 / 0.5718 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.6269, allocations: 3.953 kB / 0.5718 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6269, allocations: 8.5 kB / 0.5719 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6269, allocations: 0 / 0.5719 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.6275, allocations: 239.8 kB / 0.5721 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.6276, allocations: 89 kB / 0.5722 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.6276, allocations: 4 kB / 0.5722 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.6278, allocations: 19.94 kB / 0.5722 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.6279, allocations: 5.109 kB / 0.5722 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.6279, allocations: 4 kB / 0.5722 GB, free: 6.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.628, allocations: 120.4 kB / 0.5723 GB, free: 6.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.628, allocations: 0 / 0.5723 GB, free: 6.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.6285, allocations: 35.92 kB / 0.5724 GB, free: 6.434 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.001267/0.6297, allocations: 465.4 kB / 0.5728 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005686/0.6303, allocations: 99.94 kB / 0.5729 GB, free: 5.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.6303, allocations: 0 / 0.5729 GB, free: 5.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.6306, allocations: 59.95 kB / 0.5729 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.6309, allocations: 15.94 kB / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.6315, allocations: 253 kB / 0.5732 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.6318, allocations: 0.6965 MB / 0.5739 GB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.6319, allocations: 19.42 kB / 0.5739 GB, free: 4.887 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6319, allocations: 0 / 0.5739 GB, free: 4.887 MB / 394.7 MB Notification: Performance of Templates: time 0.005397/0.6373, allocations: 1.855 MB / 0.5757 GB, free: 3.031 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches