Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001977/0.001977, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.3 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.11 MB / 343.7 MB, free: 11.77 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 84.52 kB / 416.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1305, allocations: 62.45 MB / 479.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003784/0.1343, allocations: 2.143 MB / 481.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1369, allocations: 1.286 MB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1371, allocations: 8 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.1374, allocations: 31.78 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1379, allocations: 195.3 kB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009987/0.1389, allocations: 431.4 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.1394, allocations: 303.1 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1396, allocations: 68.64 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1399, allocations: 135.4 kB / 484 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.1402, allocations: 195.2 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.1402, allocations: 8 kB / 484.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.1404, allocations: 63.92 kB / 484.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.1406, allocations: 131.6 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1408, allocations: 178.5 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.1412, allocations: 394.7 kB / 484.9 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1412, allocations: 4 kB / 484.9 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1412, allocations: 0 / 484.9 MB, free: 124 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1412, allocations: 3.938 kB / 484.9 MB, free: 120 kB / 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.001145/0.1424, allocations: 0.7852 MB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1424, allocations: 12.88 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.1429, allocations: 92.14 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.1435, allocations: 476.4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1435, allocations: 16.36 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.1436, allocations: 12.12 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1439, allocations: 147.2 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.144, allocations: 7.875 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.144, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.144, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.1443, allocations: 103.9 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1453, allocations: 0.6761 MB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.1456, allocations: 121.2 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1458, allocations: 57.81 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.1459, allocations: 8 kB / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1459, allocations: 34.56 kB / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.1459, allocations: 0 / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002114/0.148, allocations: 0.6773 MB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.1481, allocations: 81.2 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1492, allocations: 0.9023 MB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1492, allocations: 25.7 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1495, allocations: 276.2 kB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.1496, allocations: 55.11 kB / 489.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.1497, allocations: 45.69 kB / 489.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1499, allocations: 374.7 kB / 489.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.1502, allocations: 88.16 kB / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.1505, allocations: 116.2 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.151, allocations: 209.5 kB / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1511, allocations: 0 / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007645/0.1518, allocations: 304.8 kB / 490.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.1519, allocations: 8.094 kB / 490.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1519, allocations: 3.938 kB / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1519, allocations: 4 kB / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.1522, allocations: 59.89 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1522, allocations: 3.984 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1524, allocations: 19.97 kB / 490.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1525, allocations: 8 kB / 490.7 MB, free: 10.09 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.0002749/0.1527, allocations: 209.7 kB / 490.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.1529, allocations: 59.25 kB / 490.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/0.1537, allocations: 354.3 kB / 491.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1537, allocations: 0 / 491.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.1537, allocations: 4 kB / 491.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1537, allocations: 4 kB / 491.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.1552, allocations: 0.8878 MB / 492.2 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1552, allocations: 3.938 kB / 492.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.1555, allocations: 55.95 kB / 492.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1555, allocations: 0 / 492.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1555, allocations: 4 kB / 492.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1555, allocations: 3.938 kB / 492.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.1555, allocations: 4.359 kB / 492.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.1563, allocations: 485.8 kB / 492.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.1565, allocations: 132.5 kB / 492.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.1565, allocations: 7.984 kB / 492.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.1568, allocations: 27.92 kB / 492.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.1569, allocations: 15.97 kB / 492.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.1569, allocations: 19.98 kB / 492.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007572/0.1577, allocations: 0.6513 MB / 493.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1577, allocations: 0 / 493.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000378/0.1581, allocations: 63.98 kB / 493.6 MB, free: 7.016 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.001485/0.1596, allocations: 402.6 kB / 494 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.1602, allocations: 223.8 kB / 494.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1603, allocations: 0 / 494.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.1606, allocations: 127.8 kB / 494.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.1613, allocations: 73.53 kB / 494.4 MB, free: 6.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.163, allocations: 1.093 MB / 495.5 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.1636, allocations: 0.8741 MB / 496.4 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.1639, allocations: 83.22 kB / 496.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.164, allocations: 43.42 kB / 496.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.164, allocations: 0 / 496.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of Templates: time 0.009385/0.1734, allocations: 4.107 MB / 0.4889 GB, free: 108 kB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches