Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001074/0.001074, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001106/0.001106, allocations: 158.1 kB / 24.99 MB, free: 8.801 MB / 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 0.9975/0.9975, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.3096/0.3096, allocations: 34.86 MB / 296.6 MB, free: 0.5625 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.101e-05, allocations: 2.312 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00243/0.002461, allocations: 1.706 MB / 380.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007588/0.00322, allocations: 0.5485 MB / 381 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.003286, allocations: 4 kB / 381 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.00376, allocations: 459 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.004171, allocations: 291.2 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.004454, allocations: 123.6 kB / 381.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.004682, allocations: 179.5 kB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.004786, allocations: 19.98 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.004906, allocations: 123.8 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.005114, allocations: 239.6 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.005137, allocations: 4 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.00524, allocations: 51.86 kB / 382.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.005331, allocations: 87.7 kB / 382.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.005371, allocations: 43.67 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.005603, allocations: 203.2 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.005606, allocations: 0 / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005608, allocations: 0 / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005613, allocations: 0 / 382.8 MB, free: 14.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005795/0.006192, allocations: 0.7048 MB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.006233, allocations: 8.031 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.006301, allocations: 48.59 kB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.00652, allocations: 256.8 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.00653, allocations: 384 / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.006553, allocations: 8.375 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.006687, allocations: 66.94 kB / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.0067, allocations: 8.172 kB / 383.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.00671, allocations: 384 / 383.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.00672, allocations: 4.375 kB / 383.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.006762, allocations: 23.86 kB / 383.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.007203, allocations: 423.6 kB / 384.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.349e-05/0.007276, allocations: 43.09 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.007302, allocations: 15.77 kB / 384.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.007324, allocations: 3.938 kB / 384.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.007348, allocations: 37.39 kB / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.00735, allocations: 4 kB / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006325/0.007982, allocations: 252.6 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.008022, allocations: 55.41 kB / 384.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.008464, allocations: 0.6277 MB / 385.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.008477, allocations: 29.64 kB / 385.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.008619, allocations: 290.7 kB / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.008647, allocations: 27.75 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.008685, allocations: 31.36 kB / 385.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.008842, allocations: 0.5547 MB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.008867, allocations: 11.98 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.008887, allocations: 8 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.008941, allocations: 35.67 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008942, allocations: 0 / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001206/0.009062, allocations: 109.4 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.009077, allocations: 4 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.009082, allocations: 4 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.009096, allocations: 0 / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.009183, allocations: 15.94 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.009189, allocations: 3.984 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.009216, allocations: 8 kB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.009222, allocations: 0 / 386.5 MB, free: 10.42 MB / 362.7 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 8.163e-05/0.009303, allocations: 164.5 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.00934, allocations: 43.72 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.009508, allocations: 121.7 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.00951, allocations: 0 / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.009514, allocations: 4 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009518, allocations: 0 / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.009947, allocations: 0.5087 MB / 387.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009948, allocations: 0 / 387.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.009995, allocations: 16 kB / 387.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009997, allocations: 0 / 387.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01001, allocations: 7.984 kB / 387.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01001, allocations: 0 / 387.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01002, allocations: 4 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.01017, allocations: 267.2 kB / 387.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.0102, allocations: 36.14 kB / 387.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.01022, allocations: 0 / 387.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.01027, allocations: 12.02 kB / 387.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01031, allocations: 11.94 kB / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.01031, allocations: 0 / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002516/0.01056, allocations: 426.8 kB / 388.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01056, allocations: 0 / 388.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.01075, allocations: 35.92 kB / 388.1 MB, free: 8.695 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 (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.0009093/0.01166, allocations: 426 kB / 388.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01179, allocations: 47.59 kB / 388.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01179, allocations: 0 / 388.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.01182, allocations: 35.61 kB / 388.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.0121, allocations: 30.25 kB / 388.7 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.01278, allocations: 0.6017 MB / 389.3 MB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.296e-05/0.01285, allocations: 115.3 kB / 389.4 MB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.225e-05/0.01289, allocations: 16.66 kB / 389.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.01294, allocations: 24.5 kB / 389.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of SimCode: time 1.113e-06/0.01294, allocations: 0 / 389.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of Templates: time 0.004353/0.0173, allocations: 1.601 MB / 391 MB, free: 5.879 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.059190372005105]