Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 88.41 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1234, allocations: 62.45 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003588/0.1271, allocations: 2.028 MB / 482.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1291, allocations: 1.247 MB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1292, allocations: 4 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1294, allocations: 47.58 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.1299, allocations: 211.1 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.1308, allocations: 437.4 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1312, allocations: 295.2 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1313, allocations: 60.72 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1316, allocations: 131.4 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.1318, allocations: 175.3 kB / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.1319, allocations: 23.94 kB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.132, allocations: 75.89 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.1322, allocations: 131.6 kB / 484.9 MB, free: 388 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1323, allocations: 166.6 kB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.1327, allocations: 374.8 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1327, allocations: 0 / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1327, allocations: 0 / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1328, allocations: 4 kB / 485.5 MB, free: 15.84 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.0009154/0.1337, allocations: 0.7579 MB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1337, allocations: 17.05 kB / 486.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.134, allocations: 76.25 kB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.1345, allocations: 455.8 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1346, allocations: 8.375 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.1346, allocations: 20.11 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.1349, allocations: 127.1 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1349, allocations: 4 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1349, allocations: 8 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1349, allocations: 4 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.1351, allocations: 79.94 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008811/0.136, allocations: 0.6644 MB / 487.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1363, allocations: 105.3 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1364, allocations: 49.75 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.1364, allocations: 3.984 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1364, allocations: 50.44 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1364, allocations: 0 / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001359/0.1378, allocations: 0.5058 MB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1379, allocations: 85.11 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/0.1388, allocations: 0.8906 MB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1388, allocations: 33.7 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.139, allocations: 248.3 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.1391, allocations: 51.2 kB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.1391, allocations: 33.7 kB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1393, allocations: 378.7 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1395, allocations: 51.97 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.1396, allocations: 76.34 kB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.14, allocations: 137.6 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.14, allocations: 0 / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004413/0.1404, allocations: 221.1 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1405, allocations: 8 kB / 490.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1405, allocations: 0 / 490.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1405, allocations: 3.984 kB / 490.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.1407, allocations: 39.91 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1407, allocations: 3.938 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1408, allocations: 12 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1408, allocations: 11.98 kB / 490.6 MB, free: 10.4 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 (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.0001927/0.141, allocations: 209.7 kB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1412, allocations: 55.25 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006053/0.1418, allocations: 271 kB / 491.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1418, allocations: 4 kB / 491.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1418, allocations: 0 / 491.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1418, allocations: 0 / 491.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1428, allocations: 0.7789 MB / 491.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1428, allocations: 3.984 kB / 491.9 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.143, allocations: 35.97 kB / 492 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.143, allocations: 3.984 kB / 492 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.143, allocations: 11.94 kB / 492 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1431, allocations: 4.016 kB / 492 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1431, allocations: 3.984 kB / 492 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.1435, allocations: 398 kB / 492.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1437, allocations: 136.4 kB / 492.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.1437, allocations: 0 / 492.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.1439, allocations: 19.92 kB / 492.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.144, allocations: 11.98 kB / 492.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.144, allocations: 8 kB / 492.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006553/0.1447, allocations: 0.6591 MB / 493.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1447, allocations: 0 / 493.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.145, allocations: 51.91 kB / 493.3 MB, free: 7.66 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 (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.0009109/0.1459, allocations: 400.6 kB / 493.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.1464, allocations: 151.8 kB / 493.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1464, allocations: 0 / 493.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.1466, allocations: 83.88 kB / 493.9 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.1472, allocations: 75.02 kB / 494 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1484, allocations: 0.9039 MB / 494.9 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.1489, allocations: 0.8652 MB / 495.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.149, allocations: 75.53 kB / 495.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.1491, allocations: 39.42 kB / 495.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of SimCode: time 2.385e-06/0.1492, allocations: 7.938 kB / 495.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of Templates: time 0.007982/0.1571, allocations: 3.992 MB / 499.8 MB, free: 1.172 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches