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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001865/0.001865, allocations: 88.28 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002437/0.002437, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3454/0.3454, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] 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=5003,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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/3.907e-05, allocations: 7.156 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004144/0.004183, allocations: 2.022 MB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.006954, allocations: 1.25 MB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.007147, allocations: 4 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.007485, allocations: 55.44 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000654/0.008139, allocations: 222.9 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.009272, allocations: 442.9 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007164/0.009988, allocations: 342.8 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.01019, allocations: 44.89 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.01071, allocations: 183.5 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.01107, allocations: 175.6 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.01113, allocations: 16 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.01134, allocations: 75.83 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.01157, allocations: 143.5 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.01171, allocations: 91.58 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006778/0.01239, allocations: 394.5 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01239, allocations: 0 / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01239, allocations: 0 / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.01241, allocations: 4 kB / 382.6 MB, free: 13.43 MB / 362.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.001521/0.01393, allocations: 0.7368 MB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.01397, allocations: 8.031 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.01451, allocations: 108.5 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008223/0.01534, allocations: 426.4 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.01535, allocations: 8.234 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.0154, allocations: 12.38 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.01577, allocations: 143.7 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01578, allocations: 192 / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.0158, allocations: 4.375 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.01581, allocations: 7.938 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.01614, allocations: 103.9 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.01726, allocations: 0.5938 MB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.01759, allocations: 113.2 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.01776, allocations: 61.81 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.01779, allocations: 7.984 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.01783, allocations: 30.56 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.01783, allocations: 0 / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002279/0.02011, allocations: 0.6944 MB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.02018, allocations: 85.09 kB / 385.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.02146, allocations: 0.8985 MB / 386.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.0215, allocations: 25.7 kB / 386.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.02176, allocations: 260.5 kB / 386.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/0.02185, allocations: 79.36 kB / 387 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.02195, allocations: 45.64 kB / 387.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.02221, allocations: 370.8 kB / 387.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.02249, allocations: 87.94 kB / 387.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.02278, allocations: 109.6 kB / 387.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.02337, allocations: 213.7 kB / 387.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.02337, allocations: 0 / 387.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007894/0.02416, allocations: 313.1 kB / 388.1 MB, free: 7.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.02418, allocations: 4 kB / 388.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.02419, allocations: 3.938 kB / 388.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.02421, allocations: 0 / 388.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.0245, allocations: 55.89 kB / 388.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.02451, allocations: 0.75 kB / 388.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.02471, allocations: 27.97 kB / 388.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.02473, allocations: 8.219 kB / 388.2 MB, free: 7.621 MB / 362.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 (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.0005177/0.02525, allocations: 213.7 kB / 388.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.0254, allocations: 63.56 kB / 388.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/0.02632, allocations: 370.2 kB / 388.9 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.02632, allocations: 8 kB / 388.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.02633, allocations: 0 / 388.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02634, allocations: 0 / 388.9 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.0279, allocations: 0.7821 MB / 389.7 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.0279, allocations: 0 / 389.7 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.02817, allocations: 59.95 kB / 389.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.02817, allocations: 0 / 389.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.02819, allocations: 4 kB / 389.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.0282, allocations: 0 / 389.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.0282, allocations: 3.984 kB / 389.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.02912, allocations: 497.8 kB / 390.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.02925, allocations: 63.62 kB / 390.3 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.02931, allocations: 7.984 kB / 390.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.02957, allocations: 19.98 kB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.02967, allocations: 23.95 kB / 390.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.02969, allocations: 4 kB / 390.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009681/0.03066, allocations: 0.6552 MB / 391 MB, free: 4.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03066, allocations: 0 / 391 MB, free: 4.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004495/0.03111, allocations: 64 kB / 391 MB, free: 4.742 MB / 362.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 (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.002137/0.03325, allocations: 446.2 kB / 391.5 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007361/0.03399, allocations: 203.8 kB / 391.7 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03399, allocations: 4 kB / 391.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.03432, allocations: 119.8 kB / 391.8 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.035, allocations: 86.27 kB / 391.9 MB, free: 4.055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.03689, allocations: 0.9799 MB / 392.9 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.03726, allocations: 267 kB / 393.1 MB, free: 2.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.0375, allocations: 83.22 kB / 393.2 MB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.03766, allocations: 44.48 kB / 393.3 MB, free: 2.621 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.03766, allocations: 0 / 393.3 MB, free: 2.621 MB / 362.7 MB Notification: Performance of Templates: time 0.01135/0.04901, allocations: 4.552 MB / 397.8 MB, free: 14.11 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.130853855982423]