Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 100.7 kB / 16.26 MB, free: 5.93 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.00126/0.001261, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.877/1.877, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2551/0.2551, allocations: 43.51 MB / 313.9 MB, free: 0.5391 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.001678/0.001678, allocations: 62.56 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1362, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003859/0.1402, allocations: 1.939 MB / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1417, allocations: 0.9638 MB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.1419, allocations: 8 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.1421, allocations: 43.58 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.1425, allocations: 147.4 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.1434, allocations: 390.3 kB / 444 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.1438, allocations: 251.3 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.144, allocations: 64.28 kB / 444.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.1442, allocations: 119.5 kB / 444.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1445, allocations: 179.3 kB / 444.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.1445, allocations: 12 kB / 444.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1447, allocations: 43.98 kB / 444.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1448, allocations: 135.5 kB / 444.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1449, allocations: 154.8 kB / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.1453, allocations: 338.7 kB / 445.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1453, allocations: 0 / 445.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1453, allocations: 3.938 kB / 445.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1453, allocations: 4 kB / 445.3 MB, free: 2.129 MB / 318.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.000923/0.1463, allocations: 0.7308 MB / 446 MB, free: 1.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1463, allocations: 15.89 kB / 446 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1464, allocations: 48.38 kB / 446.1 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.1469, allocations: 439.9 kB / 446.5 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1469, allocations: 8.375 kB / 446.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.147, allocations: 12.12 kB / 446.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.1472, allocations: 133.4 kB / 446.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1472, allocations: 0 / 446.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1473, allocations: 0 / 446.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1473, allocations: 4 kB / 446.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.1475, allocations: 79.89 kB / 446.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.1484, allocations: 0.6642 MB / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1486, allocations: 105.2 kB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1487, allocations: 41.81 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.1487, allocations: 8 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1488, allocations: 38.5 kB / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1488, allocations: 0 / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001509/0.1503, allocations: 0.4982 MB / 448.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.1504, allocations: 77.11 kB / 448.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009728/0.1514, allocations: 0.8427 MB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1514, allocations: 29.7 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.1516, allocations: 236.3 kB / 449.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.1517, allocations: 51.2 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.1517, allocations: 37.7 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1519, allocations: 370.7 kB / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1521, allocations: 59.89 kB / 449.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.1522, allocations: 77.17 kB / 449.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.1526, allocations: 133.7 kB / 450 MB, free: 13.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1526, allocations: 4 kB / 450 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004497/0.153, allocations: 216.9 kB / 450.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1531, allocations: 8 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1531, allocations: 0 / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1531, allocations: 0 / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.1533, allocations: 36.72 kB / 450.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1533, allocations: 4 kB / 450.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.1535, allocations: 19.92 kB / 450.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1535, allocations: 7.984 kB / 450.3 MB, free: 12.88 MB / 334.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 (16): * Single equations (assignments): 16 * 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.0002075/0.1537, allocations: 213.6 kB / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1538, allocations: 55.33 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006183/0.1544, allocations: 270.3 kB / 450.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.1545, allocations: 7.938 kB / 450.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1545, allocations: 3.938 kB / 450.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1545, allocations: 0 / 450.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.1557, allocations: 0.7513 MB / 451.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1557, allocations: 0 / 451.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.1559, allocations: 43.91 kB / 451.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1559, allocations: 4 kB / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1559, allocations: 0 / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1559, allocations: 3.938 kB / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1559, allocations: 4 kB / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.1565, allocations: 394 kB / 452 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1566, allocations: 136.4 kB / 452.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.1567, allocations: 0 / 452.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1568, allocations: 23.86 kB / 452.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.1569, allocations: 15.98 kB / 452.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1569, allocations: 11.98 kB / 452.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006838/0.1576, allocations: 0.612 MB / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1576, allocations: 0 / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.158, allocations: 56 kB / 452.8 MB, free: 10.19 MB / 334.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 (16): * Single equations (assignments): 16 * 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.0009782/0.159, allocations: 404.5 kB / 453.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.1594, allocations: 155.9 kB / 453.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1594, allocations: 0 / 453.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.1597, allocations: 84.03 kB / 453.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.1604, allocations: 74.94 kB / 453.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1618, allocations: 0.86 MB / 454.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.1623, allocations: 0.8573 MB / 455.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.1625, allocations: 79.22 kB / 455.3 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.1626, allocations: 39.42 kB / 455.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1626, allocations: 0 / 455.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of Templates: time 0.009899/0.1725, allocations: 3.919 MB / 459.3 MB, free: 3.754 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches