Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001592/0.001592, allocations: 85.89 kB / 20.68 MB, free: 1.035 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.001914/0.001914, allocations: 159.2 kB / 23.95 MB, free: 4.168 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.519/1.519, allocations: 177 MB / 204.1 MB, free: 9.172 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.2319/0.2319, 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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.166e-05, allocations: 6.219 kB / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003243/0.003275, allocations: 1.613 MB / 444.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004481, allocations: 0.5331 MB / 444.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.004551, allocations: 0 / 444.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.00488, allocations: 99.67 kB / 444.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.005226, allocations: 115.4 kB / 445 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.005578, allocations: 115.1 kB / 445.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.005774, allocations: 91.8 kB / 445.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.00589, allocations: 8 kB / 445.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.005997, allocations: 47.88 kB / 445.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.006134, allocations: 55.88 kB / 445.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.006157, allocations: 3.984 kB / 445.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.006275, allocations: 51.86 kB / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.006339, allocations: 19.88 kB / 445.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.006378, allocations: 15.92 kB / 445.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.006609, allocations: 115.6 kB / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006614, allocations: 0 / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006615, allocations: 0 / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.006621, allocations: 4 kB / 445.6 MB, free: 2.395 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.0005759/0.007197, allocations: 345.5 kB / 445.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.007235, allocations: 8.031 kB / 445.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.007283, allocations: 12.89 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.00749, allocations: 149.5 kB / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.007504, allocations: 4.359 kB / 446.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.007526, allocations: 8.359 kB / 446.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.007685, allocations: 54.23 kB / 446.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.007701, allocations: 4.188 kB / 446.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.00771, allocations: 384 / 446.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.007715, allocations: 4.375 kB / 446.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.007831, allocations: 35.89 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.008238, allocations: 248.4 kB / 446.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.008363, allocations: 42.56 kB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.00842, allocations: 20.94 kB / 446.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.008444, allocations: 0 / 446.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.008477, allocations: 38.5 kB / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.008478, allocations: 0 / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009728/0.009451, allocations: 241.3 kB / 446.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.009505, allocations: 55.39 kB / 446.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.009746, allocations: 238.6 kB / 447 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.009765, allocations: 25.7 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.00984, allocations: 116 kB / 447.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.009872, allocations: 31.8 kB / 447.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.009917, allocations: 17.72 kB / 447.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01006, allocations: 326.8 kB / 447.5 MB, free: 244 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.01015, allocations: 27.97 kB / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.01023, allocations: 31.98 kB / 447.6 MB, free: 184 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.01041, allocations: 76.75 kB / 447.7 MB, free: 104 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01041, allocations: 0 / 447.7 MB, free: 104 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.2162/0.2266, allocations: 114.8 kB / 447.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.2267, allocations: 6 kB / 447.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2267, allocations: 0 / 447.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.2267, allocations: 1.688 kB / 447.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.2268, allocations: 19.47 kB / 447.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.2269, allocations: 0.7031 kB / 447.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.2269, allocations: 4.781 kB / 447.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.2269, allocations: 2.125 kB / 447.8 MB, free: 18.9 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 0.0001191/0.2271, allocations: 130.1 kB / 447.9 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.2271, allocations: 18.12 kB / 448 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.2275, allocations: 140.7 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2275, allocations: 1.25 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2275, allocations: 2 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2275, allocations: 3.875 kB / 448.1 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.228, allocations: 362.9 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.228, allocations: 0.7969 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.2281, allocations: 21.3 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2281, allocations: 4.734 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2281, allocations: 1.922 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2281, allocations: 1.062 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2281, allocations: 1.719 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.2284, allocations: 218.7 kB / 448.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.2284, allocations: 11.52 kB / 448.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.2284, allocations: 5.531 kB / 448.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.2285, allocations: 6.625 kB / 448.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.2286, allocations: 6.25 kB / 448.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.2286, allocations: 10.22 kB / 448.7 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.2287, allocations: 178.3 kB / 448.9 MB, free: 18.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2287, allocations: 4.938 kB / 448.9 MB, free: 18.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.229, allocations: 17.73 kB / 448.9 MB, free: 18.3 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.001783/0.2308, allocations: 483.8 kB / 449.4 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.231, allocations: 71.38 kB / 449.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.231, allocations: 0 / 449.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.686e-05/0.2311, allocations: 39.27 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.0004035/0.2315, allocations: 18.75 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.0005567/0.2321, allocations: 284.9 kB / 449.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.267e-05/0.2322, allocations: 95.3 kB / 449.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.609e-05/0.2322, allocations: 21.36 kB / 449.9 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.2323, allocations: 19.64 kB / 450 MB, free: 17.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2323, allocations: 3.969 kB / 450 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005189/0.2375, allocations: 1.409 MB / 451.4 MB, free: 17.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.911131460219622]