Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001392/0.001392, allocations: 89.77 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.001475/0.001475, allocations: 158.7 kB / 23.95 MB, free: 4.148 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.504/1.504, allocations: 177 MB / 204.1 MB, free: 9.16 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.2356/0.2356, allocations: 34.27 MB / 294.8 MB, free: 14.51 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.647e-05, allocations: 10.22 kB / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002976/0.003012, allocations: 1.615 MB / 444.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.004235, allocations: 0.537 MB / 444.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.004308, allocations: 0 / 444.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.004594, allocations: 75.77 kB / 444.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.004925, allocations: 111.5 kB / 445 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.005244, allocations: 115.3 kB / 445.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.005437, allocations: 87.75 kB / 445.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.00555, allocations: 11.98 kB / 445.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.005656, allocations: 43.84 kB / 445.3 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.00578, allocations: 55.86 kB / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.005801, allocations: 8 kB / 445.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.005905, allocations: 47.91 kB / 445.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.005962, allocations: 15.94 kB / 445.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.005997, allocations: 19.92 kB / 445.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.006211, allocations: 103.6 kB / 445.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.006216, allocations: 3.984 kB / 445.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.006219, allocations: 4 kB / 445.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.006229, allocations: 0 / 445.5 MB, free: 2.414 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.0005377/0.006767, allocations: 337.6 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.006803, allocations: 8.031 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.006844, allocations: 16.84 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.007067, allocations: 143 kB / 446 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-06/0.007074, allocations: 4.375 kB / 446 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.007102, allocations: 4.375 kB / 446 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.007259, allocations: 54.23 kB / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.007273, allocations: 192 / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.007282, allocations: 384 / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.007286, allocations: 384 / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.007395, allocations: 35.91 kB / 446.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.007827, allocations: 256.4 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.007948, allocations: 42.56 kB / 446.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.008005, allocations: 20.94 kB / 446.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.008022, allocations: 0 / 446.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.008055, allocations: 38.5 kB / 446.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 3.296e-06/0.008058, allocations: 3.984 kB / 446.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009686/0.009027, allocations: 249.1 kB / 446.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.009064, allocations: 51.41 kB / 446.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.009295, allocations: 210.3 kB / 447 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.009313, allocations: 25.7 kB / 447 MB, free: 0.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.009406, allocations: 112.1 kB / 447.1 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.00944, allocations: 31.72 kB / 447.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.009479, allocations: 17.72 kB / 447.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.009645, allocations: 322.8 kB / 447.5 MB, free: 308 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.00974, allocations: 35.97 kB / 447.5 MB, free: 272 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.009822, allocations: 36.05 kB / 447.5 MB, free: 236 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.01, allocations: 72.81 kB / 447.6 MB, free: 160 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01, allocations: 0 / 447.6 MB, free: 160 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002533/0.01026, allocations: 117.4 kB / 447.7 MB, free: 36 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01027, allocations: 4 kB / 447.7 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01027, allocations: 0 / 447.7 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.01029, allocations: 8 kB / 447.7 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01041, allocations: 15.98 kB / 447.7 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.01042, allocations: 0 / 447.7 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1993/0.2097, allocations: 9.625 kB / 447.8 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2097, allocations: 0.9062 kB / 447.8 MB, free: 19.01 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.0001132/0.2098, allocations: 124.9 kB / 447.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.2099, allocations: 13.17 kB / 447.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.2103, allocations: 132.9 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2103, allocations: 2.625 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2103, allocations: 5.688 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2103, allocations: 0 / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.2108, allocations: 358 kB / 448.4 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2108, allocations: 1.031 kB / 448.4 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.2109, allocations: 22.61 kB / 448.4 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2109, allocations: 5.391 kB / 448.4 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.2109, allocations: 1.25 kB / 448.4 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2109, allocations: 1.781 kB / 448.4 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2109, allocations: 2.406 kB / 448.4 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.2111, allocations: 221.9 kB / 448.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.2112, allocations: 9.328 kB / 448.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.2112, allocations: 1.797 kB / 448.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.2113, allocations: 11.88 kB / 448.7 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.2113, allocations: 7.062 kB / 448.7 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2113, allocations: 2.281 kB / 448.7 MB, free: 18.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.2115, allocations: 164.3 kB / 448.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2115, allocations: 0 / 448.8 MB, free: 18.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.2117, allocations: 20.58 kB / 448.8 MB, free: 18.41 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.001813/0.2135, allocations: 489.3 kB / 449.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.2138, allocations: 68.73 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2138, allocations: 3.844 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.2139, allocations: 40.83 kB / 449.4 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.2143, allocations: 30.14 kB / 449.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.2148, allocations: 259 kB / 449.7 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.306e-05/0.2149, allocations: 96.39 kB / 449.8 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.659e-05/0.215, allocations: 25.25 kB / 449.8 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.215, allocations: 14.69 kB / 449.8 MB, free: 18 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.215, allocations: 1.25 kB / 449.8 MB, free: 18 MB / 366.1 MB Notification: Performance of Templates: time 0.004794/0.2198, allocations: 1.395 MB / 451.2 MB, free: 17.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.965119116008282]