Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 164 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2444/0.2444, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.697e-05/3.902e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004556/0.004595, allocations: 1.715 MB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.006663, allocations: 0.9665 MB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.006773, allocations: 0 / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.007082, allocations: 43.7 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.007537, allocations: 95.53 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.007825, allocations: 83.53 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.008059, allocations: 103.6 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.008156, allocations: 7.984 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.008297, allocations: 63.77 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.008394, allocations: 27.91 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.008417, allocations: 4 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.008549, allocations: 43.97 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.008611, allocations: 15.94 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.00866, allocations: 23.86 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.008934, allocations: 107.6 kB / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.008938, allocations: 0 / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.008939, allocations: 0 / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.008943, allocations: 0 / 446.1 MB, free: 1.996 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006349/0.009578, allocations: 345.5 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.009619, allocations: 16.03 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.009674, allocations: 8.891 kB / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.009942, allocations: 149.5 kB / 446.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.009958, allocations: 4.375 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.009975, allocations: 384 / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.01014, allocations: 58.22 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01016, allocations: 7.938 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.01017, allocations: 0 / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.01017, allocations: 0 / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.171e-05/0.01026, allocations: 27.91 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.01067, allocations: 228.6 kB / 446.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.01087, allocations: 54.67 kB / 446.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.01094, allocations: 24.78 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.01096, allocations: 0 / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.01113, allocations: 71.33 kB / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.01113, allocations: 0 / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006499/0.01178, allocations: 185.3 kB / 447.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.01183, allocations: 51.41 kB / 447.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.01205, allocations: 184.9 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.01207, allocations: 25.7 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.01214, allocations: 96.14 kB / 447.6 MB, free: 348 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.01217, allocations: 27.78 kB / 447.6 MB, free: 320 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.01224, allocations: 25.72 kB / 447.6 MB, free: 288 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2053/0.2176, allocations: 322.8 kB / 447.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2177, allocations: 15.83 kB / 447.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.2178, allocations: 37.03 kB / 448 MB, free: 19.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.218, allocations: 65.95 kB / 448 MB, free: 19.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.218, allocations: 1.281 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002963/0.2183, allocations: 106.5 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.2183, allocations: 11.78 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2183, allocations: 4.031 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.2183, allocations: 1.25 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2185, allocations: 19.61 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2185, allocations: 3.75 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-05/0.2186, allocations: 2.984 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2186, allocations: 5.156 kB / 448.2 MB, free: 19.03 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 (10): * Single equations (assignments): 10 * 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.0001373/0.2187, allocations: 123.1 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.2188, allocations: 9.359 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.2191, allocations: 125.3 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2191, allocations: 0 / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2191, allocations: 5.156 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2192, allocations: 0.6562 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.2197, allocations: 342.9 kB / 448.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2197, allocations: 4.688 kB / 448.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.2198, allocations: 9.703 kB / 448.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2198, allocations: 1.094 kB / 448.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2198, allocations: 6.812 kB / 448.8 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.2198, allocations: 7.031 kB / 448.8 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2198, allocations: 0 / 448.8 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.2201, allocations: 212.9 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.2201, allocations: 11.27 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.2201, allocations: 10.38 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.2202, allocations: 6.969 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.2203, allocations: 6.328 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.2203, allocations: 7.672 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.2205, allocations: 136.2 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2205, allocations: 0 / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.2208, allocations: 25.69 kB / 449.2 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: 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 (9): * Single equations (assignments): 7 * 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.001956/0.2227, allocations: 0.4921 MB / 449.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.223, allocations: 59.91 kB / 449.8 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.223, allocations: 1.125 kB / 449.8 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.223, allocations: 32.59 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.2235, allocations: 30.75 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.224, allocations: 220.3 kB / 450.1 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.2241, allocations: 91.2 kB / 450.1 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.2241, allocations: 13.06 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.2242, allocations: 17.69 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2242, allocations: 0 / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of Templates: time 0.006096/0.2303, allocations: 1.836 MB / 452 MB, free: 17.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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: 5.006357561796904]