Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 80.2 kB / 20.65 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9787/0.9787, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1319/0.1319, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.21e-05, allocations: 8.219 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002406/0.002428, allocations: 1.933 MB / 350.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003755, allocations: 0.9475 MB / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.003867, allocations: 4 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.004105, allocations: 43.59 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.004409, allocations: 151.3 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.004985, allocations: 379.2 kB / 351.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.005263, allocations: 263.1 kB / 351.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.005387, allocations: 44.55 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.005551, allocations: 151.5 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.005711, allocations: 163.6 kB / 352.2 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.005736, allocations: 12 kB / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.467e-05/0.00581, allocations: 43.94 kB / 352.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.005915, allocations: 139.5 kB / 352.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.005976, allocations: 79.64 kB / 352.5 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.006216, allocations: 278.8 kB / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006219, allocations: 3.938 kB / 352.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.00622, allocations: 0 / 352.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.006226, allocations: 0 / 352.7 MB, free: 4.543 MB / 282.7 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.0004832/0.006709, allocations: 0.7746 MB / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.00674, allocations: 12.03 kB / 353.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.00679, allocations: 68.55 kB / 353.6 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.006978, allocations: 296.7 kB / 353.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.006987, allocations: 16.23 kB / 353.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.007009, allocations: 12.38 kB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.007134, allocations: 123.4 kB / 354 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.007145, allocations: 7.938 kB / 354 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.007154, allocations: 4 kB / 354 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.007158, allocations: 4 kB / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.007197, allocations: 27.97 kB / 354.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.007573, allocations: 0.5574 MB / 354.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.78e-05/0.007651, allocations: 94.14 kB / 354.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.007674, allocations: 27.38 kB / 354.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.007699, allocations: 7.938 kB / 354.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.007716, allocations: 41.45 kB / 354.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.007717, allocations: 0 / 354.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004835/0.0082, allocations: 252.9 kB / 355 MB, free: 2.074 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.008224, allocations: 81.11 kB / 355.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.008499, allocations: 0.5883 MB / 355.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.00851, allocations: 29.7 kB / 355.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.008617, allocations: 314.9 kB / 356 MB, free: 1.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.00865, allocations: 55.48 kB / 356.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.008688, allocations: 43.34 kB / 356.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.008782, allocations: 0.5585 MB / 356.7 MB, free: 352 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/0.008806, allocations: 15.98 kB / 356.7 MB, free: 336 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.008844, allocations: 37.61 kB / 356.8 MB, free: 292 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.334e-05/0.008907, allocations: 67.42 kB / 356.8 MB, free: 216 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.008908, allocations: 0 / 356.8 MB, free: 216 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001306/0.009039, allocations: 153.2 kB / 357 MB, free: 56 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.00905, allocations: 7.938 kB / 357 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.009054, allocations: 0 / 357 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.009065, allocations: 4 kB / 357 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.009157, allocations: 36.72 kB / 357 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.009161, allocations: 4 kB / 357 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.009223, allocations: 8.094 kB / 357 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.009238, allocations: 8 kB / 357 MB, free: 15.98 MB / 298.7 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 9.555e-05/0.009333, allocations: 164.5 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.009398, allocations: 55.67 kB / 357.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.009627, allocations: 185.8 kB / 357.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.009631, allocations: 112 / 357.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.009634, allocations: 11.92 kB / 357.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.009638, allocations: 0 / 357.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.01015, allocations: 0.618 MB / 358.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01015, allocations: 4 kB / 358.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.01022, allocations: 31.92 kB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01023, allocations: 3.984 kB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.01024, allocations: 8 kB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01024, allocations: 0 / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01024, allocations: 0 / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.01047, allocations: 418.6 kB / 358.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.01052, allocations: 47.7 kB / 358.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.01054, allocations: 4 kB / 358.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.01061, allocations: 8 kB / 358.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.01065, allocations: 15.97 kB / 358.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.01066, allocations: 4 kB / 358.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002285/0.01089, allocations: 382.6 kB / 359 MB, free: 13.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 0 / 359 MB, free: 13.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.01111, allocations: 55.94 kB / 359 MB, free: 13.92 MB / 298.7 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.0007059/0.01182, allocations: 369.7 kB / 359.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.01193, allocations: 71.5 kB / 359.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01193, allocations: 0 / 359.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.01198, allocations: 56 kB / 359.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01231, allocations: 94.12 kB / 359.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.01316, allocations: 0.7094 MB / 360.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.979e-05/0.01325, allocations: 136.4 kB / 360.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.01336, allocations: 58.92 kB / 360.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.01349, allocations: 130.2 kB / 360.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01349, allocations: 0 / 360.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of Templates: time 0.006081/0.01957, allocations: 4.345 MB / 365 MB, free: 8.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.122787178028375]