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.001102/0.001102, allocations: 111 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.3 MB / 246.9 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3129/0.3129, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 77.5 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2005, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.00594/0.2066, allocations: 2.085 MB / 482 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.21, allocations: 1.243 MB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.2102, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.2105, allocations: 27.8 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.2112, allocations: 183.4 kB / 483.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.2128, allocations: 413.3 kB / 483.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.2133, allocations: 283.1 kB / 484.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.2136, allocations: 60.7 kB / 484.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.214, allocations: 123.5 kB / 484.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.2143, allocations: 179.2 kB / 484.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.2144, allocations: 8 kB / 484.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.2146, allocations: 59.98 kB / 484.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.2148, allocations: 131.6 kB / 484.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.2151, allocations: 170.6 kB / 484.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.2155, allocations: 279.8 kB / 485.1 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2155, allocations: 0 / 485.1 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2155, allocations: 0 / 485.1 MB, free: 492 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2155, allocations: 0 / 485.1 MB, free: 492 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.001392/0.2169, allocations: 0.7657 MB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.217, allocations: 13.95 kB / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.2175, allocations: 76.25 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/0.2183, allocations: 459.7 kB / 486.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2183, allocations: 12.31 kB / 486.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.2184, allocations: 12.12 kB / 486.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.2188, allocations: 127.2 kB / 486.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2188, allocations: 3.938 kB / 486.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.2188, allocations: 4 kB / 486.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2189, allocations: 8 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.2192, allocations: 79.83 kB / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.2206, allocations: 0.6721 MB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.2209, allocations: 117.2 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.2211, allocations: 37.83 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.2211, allocations: 7.984 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.2212, allocations: 38.5 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.705e-06/0.2212, allocations: 0 / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.00231/0.2235, allocations: 0.5019 MB / 488.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.2236, allocations: 81.11 kB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.2253, allocations: 0.8984 MB / 489 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.2253, allocations: 29.92 kB / 489.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.2257, allocations: 252.3 kB / 489.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.2258, allocations: 59.14 kB / 489.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.2259, allocations: 29.7 kB / 489.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.2262, allocations: 374.7 kB / 489.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.2265, allocations: 55.95 kB / 489.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.2268, allocations: 81.59 kB / 489.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.2274, allocations: 133.8 kB / 490 MB, free: 11.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2274, allocations: 0 / 490 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008468/0.2283, allocations: 228.9 kB / 490.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.2283, allocations: 4 kB / 490.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2284, allocations: 0 / 490.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.2284, allocations: 4 kB / 490.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.2288, allocations: 35.97 kB / 490.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2288, allocations: 0 / 490.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.229, allocations: 15.98 kB / 490.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2291, allocations: 4 kB / 490.3 MB, free: 11.04 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.0003601/0.2294, allocations: 217.7 kB / 490.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.2296, allocations: 55.25 kB / 490.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.2307, allocations: 275.1 kB / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2307, allocations: 0 / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.2308, allocations: 4 kB / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2308, allocations: 0 / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.2326, allocations: 0.7668 MB / 491.6 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2327, allocations: 4 kB / 491.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.2329, allocations: 39.91 kB / 491.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.2329, allocations: 0 / 491.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.233, allocations: 11.98 kB / 491.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.233, allocations: 3.938 kB / 491.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.233, allocations: 3.938 kB / 491.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/0.2339, allocations: 397.2 kB / 492.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.2341, allocations: 136.4 kB / 492.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/0.2342, allocations: 4 kB / 492.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.2345, allocations: 15.92 kB / 492.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.2346, allocations: 11.98 kB / 492.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.2347, allocations: 7.938 kB / 492.2 MB, free: 9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.2359, allocations: 0.6669 MB / 492.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2359, allocations: 0 / 492.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006579/0.2366, allocations: 51.91 kB / 493 MB, free: 8.289 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.001591/0.2382, allocations: 401.7 kB / 493.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006747/0.2389, allocations: 135.9 kB / 493.5 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.2389, allocations: 4 kB / 493.5 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.2392, allocations: 79.89 kB / 493.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.2403, allocations: 67.58 kB / 493.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.2426, allocations: 1.028 MB / 494.7 MB, free: 6.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.2432, allocations: 0.8616 MB / 495.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.2434, allocations: 39.42 kB / 495.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of SimCode: time 3.296e-06/0.2435, allocations: 0 / 495.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01487/0.2583, allocations: 5.574 MB / 0.4894 GB, free: 188 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches