Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.002221/0.002221, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.003199/0.003199, allocations: 156.8 kB / 24.27 MB, free: 156 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.571/1.571, allocations: 177 MB / 204.4 MB, free: 5.613 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.356/0.356, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.507e-05, allocations: 6.25 kB / 377.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003944/0.003979, allocations: 1.682 MB / 378.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.005289, allocations: 0.5797 MB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.005348, allocations: 0 / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007239/0.006072, allocations: 447.1 kB / 379.9 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005922/0.006664, allocations: 303.1 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.007121, allocations: 175.5 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.007424, allocations: 179.6 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.007542, allocations: 20.22 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.007727, allocations: 119.7 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.008056, allocations: 247.6 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.008087, allocations: 4 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.008239, allocations: 51.91 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.008386, allocations: 91.64 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.008455, allocations: 35.75 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.008882, allocations: 263 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.008886, allocations: 0 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008887, allocations: 0 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.008893, allocations: 4 kB / 381.4 MB, free: 14.68 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.001031/0.009924, allocations: 0.7239 MB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.009963, allocations: 8.031 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.445e-05/0.01006, allocations: 44.66 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.01042, allocations: 256.8 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.01044, allocations: 384 / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.01046, allocations: 8.312 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.01062, allocations: 50.25 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.01063, allocations: 192 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.01064, allocations: 384 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.01065, allocations: 8.375 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.01075, allocations: 23.92 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.01151, allocations: 475.6 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.01163, allocations: 51.05 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.01169, allocations: 15.69 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.01172, allocations: 12.02 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.01176, allocations: 45.41 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.01176, allocations: 0 / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.01278, allocations: 284.6 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.01283, allocations: 51.41 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008325/0.01366, allocations: 0.6784 MB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.01369, allocations: 29.7 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.01399, allocations: 294.8 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.01405, allocations: 27.75 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.01412, allocations: 35.36 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007287/0.01485, allocations: 0.5703 MB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.01493, allocations: 23.98 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.01501, allocations: 27.91 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.01515, allocations: 59.83 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.01515, allocations: 0 / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002438/0.0154, allocations: 121.4 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.01542, allocations: 8 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01543, allocations: 0 / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.01545, allocations: 0 / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.01555, allocations: 15.98 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01556, allocations: 4 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.01561, allocations: 8 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01562, allocations: 4 kB / 385.3 MB, free: 10.54 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 0.0001507/0.01577, allocations: 168.5 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.01585, allocations: 51.66 kB / 385.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.01618, allocations: 125.5 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01618, allocations: 0 / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01618, allocations: 4 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01619, allocations: 4 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.01706, allocations: 0.5634 MB / 386.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01706, allocations: 0 / 386.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.01713, allocations: 23.92 kB / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01714, allocations: 0 / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.01714, allocations: 0 / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.01715, allocations: 4 kB / 386.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01715, allocations: 0 / 386.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.0175, allocations: 291.2 kB / 386.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.01757, allocations: 39.75 kB / 386.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.01759, allocations: 0 / 386.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.01767, allocations: 4 kB / 386.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.01772, allocations: 15.92 kB / 386.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.01773, allocations: 0 / 386.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005134/0.01824, allocations: 446.7 kB / 387 MB, free: 8.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01824, allocations: 0 / 387 MB, free: 8.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.01852, allocations: 35.92 kB / 387.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.003387/0.0219, allocations: 492 kB / 387.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.02213, allocations: 59.66 kB / 387.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.02213, allocations: 0 / 387.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.76e-05/0.02223, allocations: 43.61 kB / 387.7 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.02258, allocations: 30.02 kB / 387.7 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.02364, allocations: 0.6196 MB / 388.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.0239, allocations: 212.1 kB / 388.5 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.49e-05/0.02397, allocations: 20.97 kB / 388.5 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.02402, allocations: 20.5 kB / 388.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02402, allocations: 0 / 388.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of Templates: time 0.00593/0.02995, allocations: 1.6 MB / 390.2 MB, free: 5.738 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.021015001926571]