Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.002142/0.002142, allocations: 89.45 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001999/0.001999, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.647/1.647, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 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.2311/0.2311, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.872e-05, allocations: 2.281 kB / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.004291/0.00433, allocations: 1.614 MB / 444.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.00596, allocations: 0.5331 MB / 444.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.006043, allocations: 0 / 444.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.006475, allocations: 107.7 kB / 444.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.006951, allocations: 123.5 kB / 445.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.007378, allocations: 99 kB / 445.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.007646, allocations: 87.75 kB / 445.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.007786, allocations: 11.98 kB / 445.2 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.007912, allocations: 51.83 kB / 445.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.008092, allocations: 75.84 kB / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.008116, allocations: 0 / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.008268, allocations: 51.91 kB / 445.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.008351, allocations: 19.92 kB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.008401, allocations: 15.94 kB / 445.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.008723, allocations: 115.5 kB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.008729, allocations: 0 / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.008731, allocations: 0 / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.008746, allocations: 0 / 445.6 MB, free: 2.371 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007193/0.009465, allocations: 349.5 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.00951, allocations: 11.97 kB / 445.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.009563, allocations: 20.84 kB / 445.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.009865, allocations: 154.3 kB / 446.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.009887, allocations: 8.375 kB / 446.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.009919, allocations: 384 / 446.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.01014, allocations: 54.23 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.01016, allocations: 8.125 kB / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.01017, allocations: 384 / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.01018, allocations: 384 / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.01035, allocations: 31.91 kB / 446.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.01087, allocations: 244.4 kB / 446.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.01103, allocations: 38.56 kB / 446.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.01111, allocations: 16.94 kB / 446.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.01114, allocations: 4 kB / 446.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.01117, allocations: 38.5 kB / 446.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 4.128e-06/0.01118, allocations: 7.922 kB / 446.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001277/0.01245, allocations: 237.2 kB / 446.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.01252, allocations: 51.41 kB / 446.8 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.01292, allocations: 259.6 kB / 447.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.01294, allocations: 25.7 kB / 447.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01305, allocations: 112.1 kB / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.0131, allocations: 23.75 kB / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.01317, allocations: 29.64 kB / 447.3 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.01337, allocations: 322.8 kB / 447.6 MB, free: 200 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.0135, allocations: 27.98 kB / 447.6 MB, free: 172 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01361, allocations: 23.98 kB / 447.6 MB, free: 148 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.01383, allocations: 60.83 kB / 447.7 MB, free: 84 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01384, allocations: 0 / 447.7 MB, free: 84 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.2428/0.2566, allocations: 108 kB / 447.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.2566, allocations: 4.344 kB / 447.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2566, allocations: 1.844 kB / 447.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2567, allocations: 2.062 kB / 447.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2568, allocations: 17.25 kB / 447.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2568, allocations: 1.922 kB / 447.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.2568, allocations: 8.797 kB / 447.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.2569, allocations: 2.281 kB / 447.8 MB, free: 18.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.136e-05/0.2569, allocations: 127.8 kB / 448 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.257, allocations: 22.67 kB / 448 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.2573, allocations: 127.4 kB / 448.1 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2573, allocations: 1.062 kB / 448.1 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2573, allocations: 0 / 448.1 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2573, allocations: 1.812 kB / 448.1 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.2578, allocations: 345.4 kB / 448.4 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2578, allocations: 3.75 kB / 448.4 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.2579, allocations: 25.27 kB / 448.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2579, allocations: 1.469 kB / 448.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2579, allocations: 1.188 kB / 448.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2579, allocations: 0.7969 kB / 448.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2579, allocations: 1.062 kB / 448.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2581, allocations: 208.6 kB / 448.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.2581, allocations: 12.03 kB / 448.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.2582, allocations: 8.25 kB / 448.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.2582, allocations: 4.891 kB / 448.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.2583, allocations: 8.562 kB / 448.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2583, allocations: 7.828 kB / 448.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.2584, allocations: 189.8 kB / 448.9 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2584, allocations: 0 / 448.9 MB, free: 18.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.2587, allocations: 22.75 kB / 448.9 MB, free: 18.32 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 (8): * Single equations (assignments): 8 * 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.001823/0.2605, allocations: 482 kB / 449.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.2608, allocations: 62.69 kB / 449.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2608, allocations: 0 / 449.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.2609, allocations: 36.38 kB / 449.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.2612, allocations: 17.08 kB / 449.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.2618, allocations: 289.6 kB / 449.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2619, allocations: 101 kB / 449.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.262, allocations: 15.19 kB / 449.9 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.262, allocations: 18.53 kB / 449.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.262, allocations: 0 / 449.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005292/0.2673, allocations: 1.376 MB / 451.3 MB, free: 17.71 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.1854831874370575]