Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.0011, allocations: 86.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2893/0.2893, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.6e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3928, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5573, allocations: 87.23 MB / 0.5511 GB, free: 12.07 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5576, allocations: 75.95 kB / 0.5512 GB, free: 11.99 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03945/0.5971, allocations: 8.736 MB / 0.5597 GB, free: 3.234 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5971, allocations: 4 kB / 0.5597 GB, free: 3.23 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.963e-05/0.5972, allocations: 8 kB / 0.5597 GB, free: 3.223 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001201/0.5984, allocations: 0.6394 MB / 0.5603 GB, free: 2.539 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5985, allocations: 11.97 kB / 0.5603 GB, free: 2.527 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.5987, allocations: 59.25 kB / 0.5604 GB, free: 2.469 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.5998, allocations: 475 kB / 0.5608 GB, free: 1.965 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5999, allocations: 4 kB / 0.5609 GB, free: 1.961 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.5999, allocations: 8 kB / 0.5609 GB, free: 1.953 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002402/0.6002, allocations: 59.92 kB / 0.5609 GB, free: 1.895 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.6005, allocations: 107.2 kB / 0.561 GB, free: 1.777 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.6005, allocations: 7.984 kB / 0.561 GB, free: 1.77 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.6005, allocations: 3.953 kB / 0.561 GB, free: 1.766 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.6005, allocations: 0 / 0.561 GB, free: 1.766 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.6024, allocations: 0.6962 MB / 0.5617 GB, free: 1.027 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.6027, allocations: 101.2 kB / 0.5618 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.6028, allocations: 37.84 kB / 0.5618 GB, free: 0.8672 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.6028, allocations: 7.984 kB / 0.5619 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.6029, allocations: 38.55 kB / 0.5619 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.424e-06/0.6029, allocations: 0 / 0.5619 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of matching and sorting (n=20): time 0.002233/0.6051, allocations: 0.5136 MB / 0.5624 GB, free: 296 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.6053, allocations: 77.11 kB / 0.5625 GB, free: 200 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.6069, allocations: 0.7639 MB / 0.5632 GB, free: 15.43 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.607, allocations: 25.7 kB / 0.5632 GB, free: 15.39 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.6072, allocations: 262.8 kB / 0.5635 GB, free: 15.14 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.681e-05/0.6073, allocations: 67 kB / 0.5635 GB, free: 15.07 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.6074, allocations: 3.938 kB / 0.5636 GB, free: 15.07 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6075, allocations: 314.8 kB / 0.5639 GB, free: 14.75 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.6077, allocations: 55.98 kB / 0.5639 GB, free: 14.7 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.6079, allocations: 73.7 kB / 0.564 GB, free: 14.62 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.6081, allocations: 60.11 kB / 0.564 GB, free: 14.56 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6081, allocations: 0 / 0.564 GB, free: 14.56 MB / 411.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005265/0.6087, allocations: 177.4 kB / 0.5642 GB, free: 14.38 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6087, allocations: 4 kB / 0.5642 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6087, allocations: 4 kB / 0.5642 GB, free: 14.37 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6088, allocations: 0 / 0.5642 GB, free: 14.37 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.6093, allocations: 63.91 kB / 0.5643 GB, free: 14.31 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6094, allocations: 4 kB / 0.5643 GB, free: 14.3 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.6098, allocations: 27.97 kB / 0.5643 GB, free: 14.28 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.6099, allocations: 12.36 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001586/0.6101, allocations: 112.2 kB / 0.5644 GB, free: 14.15 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.6103, allocations: 59.33 kB / 0.5645 GB, free: 14.09 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008992/0.6112, allocations: 270.1 kB / 0.5647 GB, free: 13.82 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.6112, allocations: 4 kB / 0.5647 GB, free: 13.82 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6112, allocations: 8.172 kB / 0.5647 GB, free: 13.81 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6112, allocations: 0 / 0.5647 GB, free: 13.81 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.6133, allocations: 0.8613 MB / 0.5656 GB, free: 12.9 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.6133, allocations: 0 / 0.5656 GB, free: 12.9 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.6139, allocations: 55.95 kB / 0.5656 GB, free: 12.85 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.6139, allocations: 4 kB / 0.5656 GB, free: 12.84 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.6139, allocations: 7.953 kB / 0.5657 GB, free: 12.84 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.614, allocations: 7.984 kB / 0.5657 GB, free: 12.83 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.614, allocations: 7.938 kB / 0.5657 GB, free: 12.82 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.6148, allocations: 399.8 kB / 0.566 GB, free: 12.41 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.6152, allocations: 180.4 kB / 0.5662 GB, free: 12.21 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.6153, allocations: 0 / 0.5662 GB, free: 12.21 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/0.6158, allocations: 35.92 kB / 0.5663 GB, free: 12.18 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/0.6159, allocations: 15.97 kB / 0.5663 GB, free: 12.16 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.6159, allocations: 8 kB / 0.5663 GB, free: 12.15 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.6171, allocations: 0.5887 MB / 0.5669 GB, free: 11.57 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6172, allocations: 0 / 0.5669 GB, free: 11.57 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006621/0.6178, allocations: 79.91 kB / 0.5669 GB, free: 11.49 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001092/0.6189, allocations: 339.7 kB / 0.5673 GB, free: 11.2 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000515/0.6195, allocations: 147.9 kB / 0.5674 GB, free: 11.05 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6195, allocations: 0 / 0.5674 GB, free: 11.05 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.6197, allocations: 87.86 kB / 0.5675 GB, free: 10.96 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.6205, allocations: 66.11 kB / 0.5675 GB, free: 10.9 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.6227, allocations: 0.776 MB / 0.5683 GB, free: 10.09 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.6234, allocations: 0.8691 MB / 0.5691 GB, free: 9.191 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.6238, allocations: 59.34 kB / 0.5692 GB, free: 9.133 MB / 411.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6238, allocations: 0 / 0.5692 GB, free: 9.133 MB / 411.1 MB Notification: Performance of Templates: time 0.01699/0.6408, allocations: 6.12 MB / 0.5752 GB, free: 3.004 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches