Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 99.36 kB / 15.98 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 190.6 kB / 16.91 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4712/0.4712, allocations: 43.49 MB / 313.6 MB, free: 8.246 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 59.91 kB / 382.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1946, allocations: 57.79 MB / 440 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00531/0.2, allocations: 2.092 MB / 442.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.2025, allocations: 1.058 MB / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.2027, allocations: 3.938 kB / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.2031, allocations: 43.77 kB / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.2037, allocations: 135.5 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.2052, allocations: 0.5421 MB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.2058, allocations: 303.1 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.2061, allocations: 76.52 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.2064, allocations: 143.3 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.2068, allocations: 199.3 kB / 444.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.2068, allocations: 16 kB / 444.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.207, allocations: 39.92 kB / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.2072, allocations: 151.5 kB / 444.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.2074, allocations: 158.7 kB / 444.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.208, allocations: 378.5 kB / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.208, allocations: 0 / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.2081, allocations: 0 / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2081, allocations: 0 / 445.3 MB, free: 9.168 MB / 382.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.001256/0.2093, allocations: 0.7696 MB / 446.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.2094, allocations: 11.89 kB / 446.1 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.2095, allocations: 64.12 kB / 446.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00063/0.2102, allocations: 443.9 kB / 446.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2102, allocations: 8.375 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.2103, allocations: 16.03 kB / 446.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.2107, allocations: 171.1 kB / 446.8 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2107, allocations: 0 / 446.8 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2107, allocations: 7.984 kB / 446.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2107, allocations: 4 kB / 446.8 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.2111, allocations: 111.9 kB / 446.9 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2121, allocations: 0.7074 MB / 447.6 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.2125, allocations: 129.2 kB / 447.7 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.2126, allocations: 73.8 kB / 447.8 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.2127, allocations: 4 kB / 447.8 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.2127, allocations: 30.56 kB / 447.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.2127, allocations: 0 / 447.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002343/0.2151, allocations: 0.744 MB / 448.6 MB, free: 5.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.2152, allocations: 77.11 kB / 448.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2162, allocations: 0.8506 MB / 449.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.2163, allocations: 29.7 kB / 449.5 MB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.2165, allocations: 256.3 kB / 449.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.2166, allocations: 63.02 kB / 449.8 MB, free: 4.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.2167, allocations: 41.69 kB / 449.9 MB, free: 4.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2169, allocations: 370.9 kB / 450.2 MB, free: 3.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.2172, allocations: 115.9 kB / 450.4 MB, free: 3.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.2175, allocations: 133.5 kB / 450.5 MB, free: 3.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.2181, allocations: 253.5 kB / 450.7 MB, free: 3.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2182, allocations: 0 / 450.7 MB, free: 3.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000771/0.2189, allocations: 328.8 kB / 451.1 MB, free: 3.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.219, allocations: 4 kB / 451.1 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.219, allocations: 4 kB / 451.1 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.219, allocations: 3.984 kB / 451.1 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.2193, allocations: 59.89 kB / 451.1 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2193, allocations: 0 / 451.1 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.2195, allocations: 15.98 kB / 451.1 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2195, allocations: 16.17 kB / 451.2 MB, free: 3.035 MB / 382.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.2198, allocations: 217.7 kB / 451.4 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2199, allocations: 55.28 kB / 451.4 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/0.2208, allocations: 401.7 kB / 451.8 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2208, allocations: 4 kB / 451.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2208, allocations: 0.5625 kB / 451.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2209, allocations: 3.984 kB / 451.8 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.2224, allocations: 0.9347 MB / 452.8 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2225, allocations: 3.984 kB / 452.8 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.2227, allocations: 59.95 kB / 452.8 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2227, allocations: 3.984 kB / 452.8 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.2228, allocations: 4 kB / 452.8 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2228, allocations: 7.938 kB / 452.8 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2228, allocations: 0 / 452.8 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.224, allocations: 0.5096 MB / 453.4 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.2242, allocations: 132.5 kB / 453.5 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.2242, allocations: 8.375 kB / 453.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.2245, allocations: 19.92 kB / 453.5 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/0.2246, allocations: 19.97 kB / 453.5 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.2246, allocations: 11.98 kB / 453.5 MB, free: 0.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.3359/0.5605, allocations: 0.6215 MB / 454.2 MB, free: 49.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.5606, allocations: 0 / 454.2 MB, free: 49.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007146/0.5613, allocations: 70.48 kB / 454.2 MB, free: 49.07 MB / 382.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.5624, allocations: 396.2 kB / 454.6 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008669/0.5633, allocations: 274.2 kB / 454.9 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5633, allocations: 0 / 454.9 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.5636, allocations: 149.7 kB / 455 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.5644, allocations: 78.7 kB / 455.1 MB, free: 48.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.5657, allocations: 1.108 MB / 456.2 MB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.566, allocations: 0.8776 MB / 457.1 MB, free: 47.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.5662, allocations: 102.7 kB / 457.2 MB, free: 47.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5663, allocations: 41.69 kB / 457.2 MB, free: 47.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5663, allocations: 0 / 457.2 MB, free: 47.71 MB / 382.1 MB Notification: Performance of Templates: time 0.009614/0.576, allocations: 4.252 MB / 461.5 MB, free: 47.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches