Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001676/0.001676, allocations: 84 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.002218/0.002218, allocations: 168.1 kB / 23.95 MB, free: 4.152 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.767/1.767, allocations: 177.2 MB / 204.3 MB, free: 9.172 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.2146/0.2146, allocations: 34.28 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.877e-06/3.877e-06, allocations: 4 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/3.155e-05, allocations: 6.219 kB / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003118/0.00315, allocations: 1.716 MB / 444.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.004977, allocations: 0.9704 MB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.005064, allocations: 0 / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.005395, allocations: 43.7 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.00575, allocations: 95.53 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.005985, allocations: 83.53 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.00619, allocations: 107.6 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.006301, allocations: 7.984 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.006424, allocations: 59.77 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.006507, allocations: 23.92 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.00653, allocations: 4 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006638, allocations: 43.97 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.00671, allocations: 23.92 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.006766, allocations: 23.86 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.007019, allocations: 111.6 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.007023, allocations: 4 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007024, allocations: 4 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.007029, allocations: 0 / 446.1 MB, free: 1.965 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.0006379/0.007667, allocations: 349.5 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.007712, allocations: 12.03 kB / 446.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.007767, allocations: 12.84 kB / 446.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.008073, allocations: 150.3 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.008087, allocations: 384 / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.008112, allocations: 8.359 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.008273, allocations: 54.23 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.008288, allocations: 3.938 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.008298, allocations: 4 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.008302, allocations: 0 / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.00839, allocations: 27.92 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.00876, allocations: 232.5 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.008945, allocations: 58.67 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.009006, allocations: 20.8 kB / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.009016, allocations: 0 / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.009171, allocations: 75.31 kB / 447.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.009172, allocations: 4 kB / 447.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005759/0.009748, allocations: 185.5 kB / 447.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.009793, allocations: 55.34 kB / 447.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.01001, allocations: 206.2 kB / 447.5 MB, free: 404 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.01003, allocations: 25.7 kB / 447.5 MB, free: 372 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.0101, allocations: 104.1 kB / 447.6 MB, free: 264 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.01013, allocations: 23.8 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.01018, allocations: 25.7 kB / 447.7 MB, free: 208 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2553/0.2654, allocations: 322.8 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.2656, allocations: 17.86 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.2657, allocations: 40.22 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.2658, allocations: 63.73 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2658, allocations: 0 / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002794/0.2661, allocations: 108.1 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2661, allocations: 4.781 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2662, allocations: 3.969 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.2662, allocations: 1.609 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.2663, allocations: 20.69 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.2663, allocations: 5 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.2664, allocations: 3 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2664, allocations: 3.375 kB / 448.3 MB, free: 19.01 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.00012/0.2665, allocations: 129.5 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.2665, allocations: 13.39 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.2668, allocations: 120.5 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2668, allocations: 2.891 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.2669, allocations: 5.031 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2669, allocations: 0.6094 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.2673, allocations: 351.5 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2673, allocations: 1.406 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.2674, allocations: 9.688 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2674, allocations: 1.094 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2674, allocations: 13.2 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2674, allocations: 5 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2674, allocations: 1.062 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.2677, allocations: 210.8 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.2677, allocations: 13.84 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.2677, allocations: 6.016 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.2678, allocations: 7.719 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.2678, allocations: 8.594 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.2678, allocations: 3.672 kB / 449.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.268, allocations: 154.8 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.268, allocations: 3.188 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.2683, allocations: 27.58 kB / 449.3 MB, free: 18.39 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.001814/0.2701, allocations: 491.9 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.2703, allocations: 59.42 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2703, allocations: 0 / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.2704, allocations: 34.95 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.2707, allocations: 37.02 kB / 449.9 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.2712, allocations: 243.4 kB / 450.2 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.575e-05/0.2713, allocations: 94.28 kB / 450.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.2713, allocations: 13.11 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.2714, allocations: 16.78 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2714, allocations: 0 / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of Templates: time 0.006087/0.2775, allocations: 1.847 MB / 452.1 MB, free: 17.71 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.394858576357365]