Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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 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) 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.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008712/0.0008711, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001134/0.001134, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2092/0.2092, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 8 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002508/0.1393, allocations: 1.722 MB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.141, allocations: 1.025 MB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.1411, allocations: 0 / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1413, allocations: 35.78 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.1416, allocations: 147.5 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008844/0.1425, allocations: 401.4 kB / 475.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1429, allocations: 271 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.143, allocations: 60.69 kB / 475.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1432, allocations: 103.5 kB / 476 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1435, allocations: 187.2 kB / 476.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.1435, allocations: 8 kB / 476.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1436, allocations: 47.98 kB / 476.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1438, allocations: 131.6 kB / 476.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.144, allocations: 184.3 kB / 476.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.1443, allocations: 350.8 kB / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1444, allocations: 0 / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1444, allocations: 0 / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1444, allocations: 4 kB / 476.9 MB, free: 8.648 MB / 350.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.0009964/0.1454, allocations: 0.7022 MB / 477.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1454, allocations: 8.031 kB / 477.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.1455, allocations: 52.28 kB / 477.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.1461, allocations: 451.7 kB / 478.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1461, allocations: 8.375 kB / 478.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.1461, allocations: 16.12 kB / 478.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.1465, allocations: 151.3 kB / 478.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1465, allocations: 0 / 478.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1465, allocations: 4 kB / 478.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1466, allocations: 4 kB / 478.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.1469, allocations: 119.9 kB / 478.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.1479, allocations: 0.6722 MB / 479.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1482, allocations: 137.2 kB / 479.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1484, allocations: 73.75 kB / 479.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1484, allocations: 0 / 479.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.1485, allocations: 30.56 kB / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.1485, allocations: 4.219 kB / 479.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002105/0.1506, allocations: 0.7439 MB / 480.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1507, allocations: 89.05 kB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.1516, allocations: 0.8388 MB / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1517, allocations: 29.7 kB / 481 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.1519, allocations: 248.3 kB / 481.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.1519, allocations: 67 kB / 481.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.152, allocations: 25.7 kB / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1522, allocations: 370.7 kB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.1524, allocations: 103.9 kB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.1527, allocations: 125.6 kB / 481.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.1533, allocations: 245.5 kB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1533, allocations: 0 / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007209/0.154, allocations: 340.9 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1541, allocations: 4 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1541, allocations: 0 / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1541, allocations: 4 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.1544, allocations: 55.95 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1544, allocations: 0 / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1546, allocations: 35.97 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.1547, allocations: 11.98 kB / 482.6 MB, free: 2.668 MB / 350.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.0002424/0.1549, allocations: 205.7 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.155, allocations: 55.25 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008392/0.1559, allocations: 390.5 kB / 483.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1559, allocations: 4 kB / 483.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1559, allocations: 0 / 483.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1559, allocations: 0 / 483.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.1573, allocations: 0.9034 MB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1573, allocations: 0 / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.1576, allocations: 64.36 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1576, allocations: 3.984 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1576, allocations: 8 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1577, allocations: 7.875 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1577, allocations: 4 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007738/0.1584, allocations: 0.4941 MB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1586, allocations: 148.4 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.1586, allocations: 3.938 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.1589, allocations: 39.91 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.159, allocations: 15.97 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.159, allocations: 8 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007035/0.1598, allocations: 0.6198 MB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1598, allocations: 0 / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.1601, allocations: 60 kB / 485.6 MB, free: 15.55 MB / 366.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.0009692/0.1611, allocations: 411.2 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.1618, allocations: 254.1 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1618, allocations: 4 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.1622, allocations: 135.9 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.1628, allocations: 78.25 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1644, allocations: 1.058 MB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.165, allocations: 0.8616 MB / 488.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.1652, allocations: 74.91 kB / 488.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1654, allocations: 39.42 kB / 488.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1654, allocations: 0 / 488.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Templates: time 0.009133/0.1745, allocations: 3.919 MB / 492.4 MB, free: 8.848 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches