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.001944/0.001944, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002356/0.002356, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.734/2.734, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4548/0.4548, allocations: 46.09 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 75.72 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1965, allocations: 62.45 MB / 480.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.006174/0.2027, allocations: 2.151 MB / 482.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.2064, allocations: 1.274 MB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.2068, allocations: 8 kB / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.2073, allocations: 35.78 kB / 483.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.2084, allocations: 191.3 kB / 483.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.2103, allocations: 432.9 kB / 484.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008151/0.2111, allocations: 327 kB / 484.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.2114, allocations: 56.7 kB / 484.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000479/0.2119, allocations: 159.3 kB / 484.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.2124, allocations: 195.2 kB / 485 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.2125, allocations: 16 kB / 485 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.2128, allocations: 63.97 kB / 485 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.213, allocations: 151.5 kB / 485.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.2133, allocations: 170.6 kB / 485.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.2139, allocations: 299.8 kB / 485.6 MB, free: 132 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2139, allocations: 7.938 kB / 485.6 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2139, allocations: 0 / 485.6 MB, free: 124 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.214, allocations: 4 kB / 485.6 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.001927/0.2159, allocations: 0.7967 MB / 486.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.216, allocations: 9.109 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.2168, allocations: 92.14 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.2178, allocations: 480.4 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2178, allocations: 8.375 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.2179, allocations: 16.12 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.2185, allocations: 144.6 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.2185, allocations: 0 / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.2185, allocations: 8 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2185, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.2191, allocations: 103.9 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.2206, allocations: 0.6839 MB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.2211, allocations: 133.2 kB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.2214, allocations: 57.81 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.2214, allocations: 0 / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.2215, allocations: 38.56 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.2215, allocations: 0 / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.003472/0.225, allocations: 0.6772 MB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.2251, allocations: 81.11 kB / 489 MB, free: 12.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.2269, allocations: 0.8985 MB / 489.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.227, allocations: 29.7 kB / 489.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.2274, allocations: 268.2 kB / 490.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2275, allocations: 63.09 kB / 490.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.2277, allocations: 37.7 kB / 490.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.228, allocations: 378.7 kB / 490.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.2284, allocations: 83.94 kB / 490.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.2289, allocations: 113.6 kB / 490.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.2299, allocations: 214.4 kB / 491 MB, free: 10.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2299, allocations: 0 / 491 MB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005464/0.2354, allocations: 304.7 kB / 491.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.2354, allocations: 4 kB / 491.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2355, allocations: 0 / 491.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.2355, allocations: 4 kB / 491.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.236, allocations: 51.95 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.2361, allocations: 8 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.2365, allocations: 23.97 kB / 491.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.2366, allocations: 4 kB / 491.4 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.0004287/0.237, allocations: 213.7 kB / 491.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.2373, allocations: 59.25 kB / 491.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.2387, allocations: 350.4 kB / 492 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.2388, allocations: 4 kB / 492 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2388, allocations: 0 / 492 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2388, allocations: 4 kB / 492 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.2413, allocations: 0.8956 MB / 492.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2413, allocations: 4 kB / 492.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.2417, allocations: 51.89 kB / 493 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.2418, allocations: 4 kB / 493 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.2418, allocations: 4 kB / 493 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.2418, allocations: 11.92 kB / 493 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2418, allocations: 0 / 493 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.2432, allocations: 484.1 kB / 493.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.2434, allocations: 136.4 kB / 493.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2436, allocations: 0 / 493.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.2441, allocations: 31.91 kB / 493.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2442, allocations: 19.97 kB / 493.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.2442, allocations: 11.98 kB / 493.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001319/0.2456, allocations: 0.6552 MB / 494.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2456, allocations: 0 / 494.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007444/0.2463, allocations: 63.98 kB / 494.4 MB, free: 7.008 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.001706/0.2481, allocations: 399.6 kB / 494.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.2492, allocations: 231.7 kB / 495 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2492, allocations: 0 / 495 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005284/0.2498, allocations: 131.8 kB / 495.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005295/0.2551, allocations: 77.28 kB / 495.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.2579, allocations: 1.094 MB / 496.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.2587, allocations: 0.8691 MB / 497.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.259, allocations: 47.41 kB / 497.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.259, allocations: 0 / 497.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of Templates: time 0.02062/0.2797, allocations: 6.04 MB / 0.4914 GB, free: 14.22 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 -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