Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 177.1 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009346, allocations: 87.16 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.336/0.336, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003198, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3585, allocations: 61.89 MB / 0.5096 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4718, allocations: 89.59 MB / 0.597 GB, free: 5.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.4721, allocations: 79.94 kB / 0.5971 GB, free: 5.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02295/0.4951, allocations: 8.889 MB / 0.6058 GB, free: 12.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4951, allocations: 0 / 0.6058 GB, free: 12.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.836e-05/0.4952, allocations: 8 kB / 0.6058 GB, free: 12.58 MB / 426.7 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.0009193/0.4961, allocations: 0.7438 MB / 0.6065 GB, free: 11.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4961, allocations: 12.02 kB / 0.6065 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.262e-05/0.4962, allocations: 51.34 kB / 0.6066 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.4969, allocations: 478.9 kB / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4969, allocations: 12 kB / 0.6071 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.497, allocations: 8 kB / 0.6071 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.4972, allocations: 131.2 kB / 0.6072 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4973, allocations: 0 / 0.6072 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4973, allocations: 4 kB / 0.6072 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.4973, allocations: 7.938 kB / 0.6072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.4975, allocations: 87.89 kB / 0.6073 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009639/0.4985, allocations: 0.7035 MB / 0.608 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.4986, allocations: 113.2 kB / 0.6081 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4987, allocations: 11.92 kB / 0.6081 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4987, allocations: 42.69 kB / 0.6081 GB, free: 10 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.4987, allocations: 0 / 0.6081 GB, free: 10 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001291/0.5, allocations: 0.5411 MB / 0.6087 GB, free: 9.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.5001, allocations: 77.11 kB / 0.6087 GB, free: 9.359 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.501, allocations: 0.7872 MB / 0.6095 GB, free: 8.562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.501, allocations: 25.7 kB / 0.6095 GB, free: 8.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.5012, allocations: 256.2 kB / 0.6098 GB, free: 8.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.5012, allocations: 51.27 kB / 0.6098 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.5012, allocations: 0 / 0.6098 GB, free: 8.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5014, allocations: 374.8 kB / 0.6102 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.5015, allocations: 59.95 kB / 0.6102 GB, free: 7.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.5017, allocations: 81.67 kB / 0.6103 GB, free: 7.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.5019, allocations: 71.94 kB / 0.6104 GB, free: 7.633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5019, allocations: 0 / 0.6104 GB, free: 7.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004172/0.5023, allocations: 240.9 kB / 0.6106 GB, free: 7.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5023, allocations: 4 kB / 0.6106 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5023, allocations: 0 / 0.6106 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.5023, allocations: 7.984 kB / 0.6106 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.5025, allocations: 47.91 kB / 0.6107 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5025, allocations: 0 / 0.6107 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.5027, allocations: 23.92 kB / 0.6107 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.5027, allocations: 4 kB / 0.6107 GB, free: 7.305 MB / 426.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001854/0.5029, allocations: 210.3 kB / 0.6109 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.503, allocations: 51.34 kB / 0.6109 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.5036, allocations: 294.1 kB / 0.6112 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5036, allocations: 0 / 0.6112 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5036, allocations: 0 / 0.6112 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.5036, allocations: 4 kB / 0.6112 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.5048, allocations: 0.8605 MB / 0.6121 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5048, allocations: 0 / 0.6121 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.505, allocations: 39.97 kB / 0.6121 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.505, allocations: 8 kB / 0.6121 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.505, allocations: 0 / 0.6121 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.505, allocations: 7.938 kB / 0.6121 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.505, allocations: 0 / 0.6121 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.5055, allocations: 433.5 kB / 0.6125 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.5058, allocations: 181.2 kB / 0.6127 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.5058, allocations: 7.922 kB / 0.6127 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.506, allocations: 20 kB / 0.6127 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.5061, allocations: 15.97 kB / 0.6127 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.5061, allocations: 7.953 kB / 0.6128 GB, free: 5.078 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006854/0.5068, allocations: 0.6237 MB / 0.6134 GB, free: 4.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5068, allocations: 0 / 0.6134 GB, free: 4.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.5072, allocations: 79.98 kB / 0.6134 GB, free: 4.379 MB / 426.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008323/0.508, allocations: 402.2 kB / 0.6138 GB, free: 4.141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003714/0.5084, allocations: 163.8 kB / 0.614 GB, free: 3.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5084, allocations: 8 kB / 0.614 GB, free: 3.973 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.5086, allocations: 87.89 kB / 0.6141 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.509, allocations: 67.3 kB / 0.6141 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5102, allocations: 0.9723 MB / 0.6151 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.5106, allocations: 0.8616 MB / 0.6159 GB, free: 1.926 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.5108, allocations: 91.53 kB / 0.616 GB, free: 1.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.5109, allocations: 47.36 kB / 0.6161 GB, free: 1.793 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.511, allocations: 0 / 0.6161 GB, free: 1.793 MB / 426.7 MB Notification: Performance of Templates: time 0.007761/0.5187, allocations: 4.324 MB / 0.6203 GB, free: 13.49 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches