Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001625/0.001625, allocations: 88.44 kB / 20.68 MB, free: 1.02 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.00171/0.00171, allocations: 162.1 kB / 23.96 MB, free: 4.141 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.503/1.503, 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.2295/0.2295, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.18e-05, allocations: 2.281 kB / 442.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004015/0.004047, allocations: 1.734 MB / 444.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.005991, allocations: 0.989 MB / 445.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.006081, allocations: 0 / 445.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.006504, allocations: 87.62 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.006916, allocations: 119.5 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.007171, allocations: 87.53 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.00741, allocations: 123.7 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.007514, allocations: 4 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.007662, allocations: 79.73 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.007796, allocations: 63.86 kB / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.00782, allocations: 8 kB / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.007946, allocations: 55.92 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.008019, allocations: 35.83 kB / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.008069, allocations: 15.94 kB / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.008332, allocations: 143.5 kB / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.008339, allocations: 7.984 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00834, allocations: 0 / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.008345, allocations: 0 / 446.3 MB, free: 1.652 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006113/0.008956, allocations: 361.3 kB / 446.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.008995, allocations: 12.03 kB / 446.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.009053, allocations: 16.84 kB / 446.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.009343, allocations: 162.3 kB / 446.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.009358, allocations: 384 / 446.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.009383, allocations: 4.375 kB / 446.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.009586, allocations: 66.22 kB / 446.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.009599, allocations: 192 / 446.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.00961, allocations: 384 / 446.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.009617, allocations: 3.938 kB / 446.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.009713, allocations: 27.92 kB / 446.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.01011, allocations: 244.5 kB / 447.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.01039, allocations: 66.48 kB / 447.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.01046, allocations: 20.97 kB / 447.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.01047, allocations: 4 kB / 447.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.01065, allocations: 87.31 kB / 447.3 MB, free: 492 kB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.01065, allocations: 0 / 447.3 MB, free: 492 kB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008383/0.01149, allocations: 253.2 kB / 447.6 MB, free: 232 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.01155, allocations: 51.41 kB / 447.6 MB, free: 168 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.197/0.2085, allocations: 242.1 kB / 447.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.2085, allocations: 30.83 kB / 447.9 MB, free: 19.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.2086, allocations: 108.3 kB / 448 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.2086, allocations: 36.53 kB / 448 MB, free: 19.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.2087, allocations: 28.16 kB / 448.1 MB, free: 19.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.2087, allocations: 325.7 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.2088, allocations: 32.52 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.2089, allocations: 48.11 kB / 448.5 MB, free: 18.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2091, allocations: 84.75 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2091, allocations: 3.25 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002457/0.2093, allocations: 130.8 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2093, allocations: 7.188 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2093, allocations: 1.641 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2093, allocations: 4.875 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.2094, allocations: 24.73 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2094, allocations: 1.344 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.2095, allocations: 6.828 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2095, allocations: 6.469 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.864e-05/0.2096, allocations: 131 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.2096, allocations: 15 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.2099, allocations: 158.6 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2099, allocations: 6.922 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2099, allocations: 0 / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2099, allocations: 1.75 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.2104, allocations: 409.2 kB / 449.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2104, allocations: 1 kB / 449.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.2104, allocations: 15.45 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2104, allocations: 1.031 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2104, allocations: 3.781 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.2104, allocations: 1.781 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2104, allocations: 1.188 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.2107, allocations: 255.1 kB / 449.7 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.2107, allocations: 17.56 kB / 449.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2107, allocations: 4.984 kB / 449.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.2108, allocations: 6.594 kB / 449.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.2108, allocations: 9.766 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2109, allocations: 5.844 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.211, allocations: 176.9 kB / 449.9 MB, free: 18 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.211, allocations: 0 / 449.9 MB, free: 18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.2113, allocations: 30.72 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001979/0.2133, allocations: 0.5385 MB / 450.5 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2135, allocations: 81.94 kB / 450.6 MB, free: 17.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2135, allocations: 1.25 kB / 450.6 MB, free: 17.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.2136, allocations: 39.2 kB / 450.6 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2139, allocations: 31.28 kB / 450.7 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.2144, allocations: 289.2 kB / 450.9 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.639e-05/0.2145, allocations: 104.8 kB / 451 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.2145, allocations: 19.84 kB / 451.1 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.2146, allocations: 23.89 kB / 451.1 MB, free: 17.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2146, allocations: 0 / 451.1 MB, free: 17.47 MB / 366.1 MB Notification: Performance of Templates: time 0.005547/0.2201, allocations: 2.097 MB / 453.2 MB, free: 17.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.901247534900904]