Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 181.3 kB / 17.41 MB, free: 4.402 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.503/1.503, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008124/0.0008125, allocations: 89.41 kB / 271.9 MB, free: 8.262 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.3409/0.3409, allocations: 43.55 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.111, allocations: 58.86 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3811, allocations: 87.1 MB / 0.565 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.3813, allocations: 75.95 kB / 0.5651 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.3977, allocations: 7.921 MB / 0.5728 GB, free: 7.203 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3977, allocations: 0 / 0.5728 GB, free: 7.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.3977, allocations: 7.828 kB / 0.5728 GB, free: 7.199 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.0006424/0.3984, allocations: 0.6373 MB / 0.5734 GB, free: 6.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3984, allocations: 12.03 kB / 0.5734 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.3985, allocations: 48.36 kB / 0.5735 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.3989, allocations: 348.2 kB / 0.5738 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.3989, allocations: 384 / 0.5738 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.399, allocations: 7.359 kB / 0.5738 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3991, allocations: 58.25 kB / 0.5739 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.3991, allocations: 192 / 0.5739 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3992, allocations: 3.938 kB / 0.5739 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3992, allocations: 4 kB / 0.5739 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3993, allocations: 47.89 kB / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.3999, allocations: 444.8 kB / 0.5744 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4, allocations: 50.5 kB / 0.5744 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.4001, allocations: 28.94 kB / 0.5744 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.4002, allocations: 3.984 kB / 0.5744 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.4002, allocations: 42.5 kB / 0.5745 GB, free: 5.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.176e-06/0.4002, allocations: 0 / 0.5745 GB, free: 5.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003436/0.4005, allocations: 141 kB / 0.5746 GB, free: 5.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4006, allocations: 55.41 kB / 0.5747 GB, free: 5.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.4018, allocations: 0.8418 MB / 0.5755 GB, free: 4.258 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4018, allocations: 29.7 kB / 0.5755 GB, free: 4.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.402, allocations: 212.1 kB / 0.5757 GB, free: 4.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.402, allocations: 7.906 kB / 0.5757 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.402, allocations: 4 kB / 0.5757 GB, free: 4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4021, allocations: 354.8 kB / 0.5761 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.4022, allocations: 27.97 kB / 0.5761 GB, free: 3.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.4023, allocations: 23.98 kB / 0.5761 GB, free: 3.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.4024, allocations: 52.77 kB / 0.5762 GB, free: 3.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4024, allocations: 3.938 kB / 0.5762 GB, free: 3.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001998/0.4026, allocations: 121.1 kB / 0.5763 GB, free: 3.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4027, allocations: 4 kB / 0.5763 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4027, allocations: 0 / 0.5763 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4027, allocations: 0 / 0.5763 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.4028, allocations: 8 kB / 0.5763 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4028, allocations: 4 kB / 0.5763 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.4029, allocations: 15.98 kB / 0.5763 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4029, allocations: 0 / 0.5763 GB, free: 3.379 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 (3): * Single equations (assignments): 3 * 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.000185/0.4031, allocations: 214.3 kB / 0.5765 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.4031, allocations: 47.42 kB / 0.5766 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.4034, allocations: 137.3 kB / 0.5767 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4034, allocations: 48 / 0.5767 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4034, allocations: 4.734 kB / 0.5767 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4035, allocations: 4 kB / 0.5767 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.4038, allocations: 338.4 kB / 0.577 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4038, allocations: 0 / 0.577 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.4038, allocations: 8 kB / 0.577 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4038, allocations: 0 / 0.577 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4039, allocations: 7.984 kB / 0.577 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4039, allocations: 4 kB / 0.577 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4039, allocations: 0.8594 kB / 0.577 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.4041, allocations: 214.8 kB / 0.5772 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.4043, allocations: 160.5 kB / 0.5774 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.4044, allocations: 15.98 kB / 0.5774 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.4045, allocations: 4 kB / 0.5774 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.4045, allocations: 4 kB / 0.5774 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4045, allocations: 3.938 kB / 0.5774 GB, free: 2.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006777/0.4052, allocations: 0.6393 MB / 0.5781 GB, free: 1.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4052, allocations: 0 / 0.5781 GB, free: 1.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.4055, allocations: 48 kB / 0.5781 GB, free: 1.449 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 (3): * Single equations (assignments): 3 * 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.0006984/0.4062, allocations: 359.4 kB / 0.5784 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.4064, allocations: 47.97 kB / 0.5785 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4064, allocations: 4 kB / 0.5785 GB, free: 1.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.4065, allocations: 27.92 kB / 0.5785 GB, free: 1.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.4068, allocations: 29.89 kB / 0.5785 GB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.408, allocations: 0.9403 MB / 0.5795 GB, free: 108 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4084, allocations: 0.8263 MB / 0.5803 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.4085, allocations: 19.69 kB / 0.5803 GB, free: 15.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4085, allocations: 0 / 0.5803 GB, free: 15.24 MB / 410.7 MB Notification: Performance of Templates: time 0.006513/0.415, allocations: 4.1 MB / 0.5843 GB, free: 11.13 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches