Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001957/0.001957, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001947/0.001947, 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.566/1.566, allocations: 177 MB / 204.5 MB, free: 5.629 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.3679/0.3679, allocations: 34.25 MB / 295.2 MB, free: 0.6289 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.198e-05, allocations: 8.781 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003242/0.003274, allocations: 1.607 MB / 378.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004417, allocations: 0.5253 MB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.004464, allocations: 0 / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.004655, allocations: 27.78 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.004936, allocations: 79.56 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.005202, allocations: 91.64 kB / 379.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.005358, allocations: 67.81 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.005445, allocations: 8 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.005522, allocations: 31.91 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.005579, allocations: 11.94 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.005596, allocations: 0 / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.005681, allocations: 39.97 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.005734, allocations: 15.92 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.005764, allocations: 7.938 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.005944, allocations: 83.66 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005946, allocations: 4 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005947, allocations: 0 / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005951, allocations: 0 / 379.8 MB, free: 296 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000842/0.006793, allocations: 411.8 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.006826, allocations: 8.031 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.006872, allocations: 8.891 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.007082, allocations: 140.5 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.007091, allocations: 384 / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.007114, allocations: 8.312 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.007243, allocations: 46.23 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.007254, allocations: 4.188 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.007263, allocations: 384 / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.007267, allocations: 384 / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.007354, allocations: 23.92 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.007771, allocations: 275.8 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.008002, allocations: 50.98 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.008065, allocations: 23.7 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.008083, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.008119, allocations: 37.39 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.00812, allocations: 4 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005399/0.00866, allocations: 141.3 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.008709, allocations: 51.41 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.008918, allocations: 208.8 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.00894, allocations: 25.7 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.009091, allocations: 146.9 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.009119, allocations: 15.84 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.009164, allocations: 23.38 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.009433, allocations: 0.4962 MB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.009492, allocations: 15.98 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.009546, allocations: 15.98 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.009661, allocations: 47.61 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.009662, allocations: 192 / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001756/0.009838, allocations: 81.58 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.009851, allocations: 4 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.009855, allocations: 0 / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.009868, allocations: 0 / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.00994, allocations: 15.98 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.009945, allocations: 4 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.009979, allocations: 3.953 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.009987, allocations: 4 kB / 382.1 MB, free: 13.78 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 (5): * Single equations (assignments): 5 * 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.0001235/0.01011, allocations: 160.5 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.01014, allocations: 15.89 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.01037, allocations: 86.12 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01037, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01038, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01038, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.01086, allocations: 349.3 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01086, allocations: 0 / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.01092, allocations: 11.98 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01092, allocations: 0 / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01093, allocations: 4 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01093, allocations: 3.938 kB / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01093, allocations: 0 / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.0112, allocations: 227.8 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.01121, allocations: 8.141 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.01122, allocations: 4 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.01129, allocations: 11.98 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.01132, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.01132, allocations: 4 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.01145, allocations: 159.2 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01145, allocations: 0 / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.01168, allocations: 8 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002848/0.01453, allocations: 425.8 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.01471, allocations: 51.67 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01471, allocations: 0 / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.0148, allocations: 31.73 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.01512, allocations: 22.7 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.01556, allocations: 190.6 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.642e-05/0.01566, allocations: 87.25 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.01572, allocations: 11.98 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.01575, allocations: 12.5 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01575, allocations: 0 / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Templates: time 0.004415/0.02016, allocations: 1.154 MB / 385.1 MB, free: 10.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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: 4.8996547140413895]