Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.00148/0.00148, allocations: 85.11 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.001496/0.001496, allocations: 158.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.502/1.502, allocations: 177 MB / 204.1 MB, free: 9.145 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.2344/0.2344, allocations: 34.25 MB / 294.8 MB, free: 14.52 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.971e-05/4.22e-05, allocations: 2.281 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003621/0.003663, allocations: 1.613 MB / 444.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.005249, allocations: 0.537 MB / 444.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.005351, allocations: 0 / 444.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.005753, allocations: 135.5 kB / 445 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.006131, allocations: 123.5 kB / 445.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.006479, allocations: 115 kB / 445.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.006695, allocations: 95.78 kB / 445.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.006806, allocations: 19.92 kB / 445.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.006912, allocations: 51.88 kB / 445.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.007073, allocations: 91.83 kB / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.007093, allocations: 0 / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.0072, allocations: 51.91 kB / 445.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.007268, allocations: 31.86 kB / 445.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.007309, allocations: 15.86 kB / 445.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.007549, allocations: 127.5 kB / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.007552, allocations: 0 / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007554, allocations: 0 / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.007559, allocations: 4 kB / 445.7 MB, free: 2.258 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.0005665/0.008125, allocations: 357.4 kB / 446 MB, free: 1.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.008162, allocations: 12.03 kB / 446 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.008214, allocations: 16.84 kB / 446 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.008429, allocations: 157.2 kB / 446.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.008442, allocations: 384 / 446.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.008466, allocations: 8.375 kB / 446.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.00862, allocations: 50.23 kB / 446.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.008633, allocations: 4.125 kB / 446.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.008644, allocations: 4.375 kB / 446.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.008651, allocations: 4.375 kB / 446.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.008756, allocations: 31.91 kB / 446.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.009177, allocations: 252.4 kB / 446.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.009298, allocations: 42.56 kB / 446.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.009355, allocations: 20.94 kB / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.00938, allocations: 0 / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.009421, allocations: 46.44 kB / 446.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.009422, allocations: 0 / 446.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009993/0.01042, allocations: 257.2 kB / 446.9 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.01047, allocations: 51.41 kB / 447 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.01076, allocations: 275.9 kB / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.01078, allocations: 25.7 kB / 447.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.01086, allocations: 116.1 kB / 447.4 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.0109, allocations: 27.75 kB / 447.4 MB, free: 388 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.01094, allocations: 21.7 kB / 447.4 MB, free: 360 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.0111, allocations: 334.8 kB / 447.7 MB, free: 16 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2064/0.2175, allocations: 22.84 kB / 447.8 MB, free: 18.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2176, allocations: 30.97 kB / 447.8 MB, free: 18.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.2178, allocations: 71.8 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2178, allocations: 0 / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002712/0.2181, allocations: 117.8 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2181, allocations: 6.406 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2181, allocations: 2.031 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2181, allocations: 1.406 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2183, allocations: 19.62 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2183, allocations: 1.75 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.2183, allocations: 4.609 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2183, allocations: 10.44 kB / 448 MB, free: 18.95 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 9.394e-05/0.2184, allocations: 143.8 kB / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.2185, allocations: 15.34 kB / 448.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.2188, allocations: 137.2 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2188, allocations: 1.219 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2188, allocations: 1.156 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2188, allocations: 0.6094 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.2193, allocations: 371.8 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2193, allocations: 1.312 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.2194, allocations: 15.97 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2194, allocations: 2.922 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.2194, allocations: 5.469 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2194, allocations: 1.797 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2194, allocations: 5.125 kB / 448.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.2197, allocations: 220.5 kB / 448.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.2197, allocations: 12.22 kB / 448.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.2197, allocations: 6.219 kB / 448.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.2198, allocations: 5.375 kB / 448.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.2198, allocations: 10.3 kB / 449 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2198, allocations: 3.344 kB / 449 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.22, allocations: 207.6 kB / 449.2 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.22, allocations: 0 / 449.2 MB, free: 18.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.2203, allocations: 28.28 kB / 449.2 MB, free: 18.32 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.001788/0.2221, allocations: 488.2 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.2223, allocations: 74.81 kB / 449.7 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2223, allocations: 0 / 449.7 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.2224, allocations: 41.62 kB / 449.8 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2228, allocations: 18.34 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.2233, allocations: 328.3 kB / 450.1 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.2234, allocations: 107.5 kB / 450.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.345e-05/0.2235, allocations: 19.11 kB / 450.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.2235, allocations: 17.3 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2235, allocations: 2.656 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of Templates: time 0.004577/0.2281, allocations: 1.412 MB / 451.7 MB, free: 17.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.9970392026007175]