Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001161/0.001161, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1293, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003971/0.1333, allocations: 2.112 MB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1356, allocations: 1.286 MB / 484.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1357, allocations: 7.938 kB / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.1361, allocations: 43.58 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005337/0.1366, allocations: 219 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.1377, allocations: 453.4 kB / 485.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.1381, allocations: 323 kB / 485.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.1383, allocations: 64.72 kB / 485.9 MB, free: 32 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.1386, allocations: 151.4 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1389, allocations: 199.2 kB / 486.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.1389, allocations: 16 kB / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1391, allocations: 63.97 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.1392, allocations: 139.6 kB / 486.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1394, allocations: 190.5 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.1399, allocations: 406.4 kB / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1399, allocations: 4 kB / 487.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1399, allocations: 0 / 487.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1399, allocations: 0 / 487.1 MB, free: 14.88 MB / 366.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.001119/0.141, allocations: 0.7929 MB / 487.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1411, allocations: 13.11 kB / 487.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.1415, allocations: 104.1 kB / 488 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.1422, allocations: 468.5 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1422, allocations: 8.375 kB / 488.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.1422, allocations: 20.11 kB / 488.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1426, allocations: 147.1 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1426, allocations: 4 kB / 488.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1426, allocations: 4 kB / 488.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1426, allocations: 7.938 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.1429, allocations: 99.86 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000886/0.1438, allocations: 0.6761 MB / 489.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.1441, allocations: 125.4 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1442, allocations: 57.81 kB / 489.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1443, allocations: 11.94 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1443, allocations: 30.56 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1443, allocations: 0 / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001818/0.1461, allocations: 0.6818 MB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.1462, allocations: 81.11 kB / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/0.1471, allocations: 0.8946 MB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1471, allocations: 33.7 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.1473, allocations: 268.2 kB / 491.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.1474, allocations: 67.09 kB / 491.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.1475, allocations: 33.7 kB / 491.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1477, allocations: 378.7 kB / 492 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.1479, allocations: 83.94 kB / 492.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.1482, allocations: 120.7 kB / 492.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.1486, allocations: 213.7 kB / 492.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1486, allocations: 0 / 492.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000615/0.1493, allocations: 300.7 kB / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1493, allocations: 4 kB / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1493, allocations: 4.062 kB / 492.8 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1493, allocations: 4 kB / 492.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.1496, allocations: 55.89 kB / 492.8 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1496, allocations: 0 / 492.8 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1498, allocations: 23.97 kB / 492.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.1498, allocations: 8 kB / 492.8 MB, free: 8.848 MB / 366.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.00021/0.15, allocations: 209.7 kB / 493 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1502, allocations: 63.25 kB / 493.1 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/0.1509, allocations: 350.3 kB / 493.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.151, allocations: 4 kB / 493.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.151, allocations: 0 / 493.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.151, allocations: 0 / 493.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.1523, allocations: 0.8919 MB / 494.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1523, allocations: 3.938 kB / 494.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1526, allocations: 55.95 kB / 494.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1526, allocations: 0 / 494.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.1526, allocations: 8 kB / 494.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1526, allocations: 3.938 kB / 494.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1527, allocations: 3.984 kB / 494.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.1533, allocations: 489.8 kB / 494.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.1535, allocations: 136.4 kB / 495 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.1536, allocations: 4 kB / 495 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1538, allocations: 23.92 kB / 495.1 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.1539, allocations: 23.97 kB / 495.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1539, allocations: 11.98 kB / 495.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006886/0.1546, allocations: 0.6513 MB / 495.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1546, allocations: 0 / 495.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.155, allocations: 60 kB / 495.8 MB, free: 5.773 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.0009525/0.156, allocations: 401.2 kB / 496.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005917/0.1566, allocations: 223.8 kB / 496.4 MB, free: 5.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1566, allocations: 4.375 kB / 496.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.1569, allocations: 127.7 kB / 496.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.1574, allocations: 81.03 kB / 496.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1589, allocations: 0.9513 MB / 497.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.1593, allocations: 0.8809 MB / 498.5 MB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.1595, allocations: 79.22 kB / 498.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1596, allocations: 35.42 kB / 498.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1596, allocations: 0 / 498.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of Templates: time 0.009421/0.1691, allocations: 4.355 MB / 0.4911 GB, free: 14.75 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches