Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.0009597/0.0009597, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001279/0.001279, allocations: 170.5 kB / 25.61 MB, free: 8.914 MB / 18.57 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.019/1.019, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1934/0.1934, allocations: 32.81 MB / 295.4 MB, free: 15.46 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.239e-05, allocations: 10.08 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002996/0.003018, allocations: 1.754 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.004551, allocations: 1.001 MB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.004656, allocations: 0 / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.00501, allocations: 91.62 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.00552, allocations: 119.5 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.005841, allocations: 87.53 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.00608, allocations: 127.6 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.006183, allocations: 11.94 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.006323, allocations: 71.8 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.006449, allocations: 63.86 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.006467, allocations: 4 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.006607, allocations: 59.92 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.006667, allocations: 31.84 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.006706, allocations: 19.92 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.006927, allocations: 119.5 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.00693, allocations: 0 / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006931, allocations: 4 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.006936, allocations: 0 / 380.9 MB, free: 21.93 MB / 314.7 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.0004656/0.007401, allocations: 479.6 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.007439, allocations: 15.98 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.007495, allocations: 16.84 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.00768, allocations: 153.2 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.007702, allocations: 16.3 kB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.00772, allocations: 4.375 kB / 381.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.007851, allocations: 62.92 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.007862, allocations: 3.938 kB / 381.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.007871, allocations: 8 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.007878, allocations: 4 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.007915, allocations: 11.98 kB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.008199, allocations: 268.3 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.008388, allocations: 66.89 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.008416, allocations: 15.81 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.008432, allocations: 7.922 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.00854, allocations: 65.05 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.008542, allocations: 0 / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005697/0.009112, allocations: 201.8 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.00914, allocations: 51.41 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.009293, allocations: 252.9 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.009308, allocations: 33.69 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.009371, allocations: 166.8 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.00941, allocations: 31.7 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.009457, allocations: 35.34 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.009529, allocations: 0.5 MB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.009556, allocations: 15.98 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.009597, allocations: 35.36 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.168e-05/0.009668, allocations: 63.23 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.00967, allocations: 3.984 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001534/0.009823, allocations: 101.6 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.009838, allocations: 4 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.009844, allocations: 0 / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.009854, allocations: 0 / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.274e-05/0.009937, allocations: 27.92 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.009941, allocations: 0 / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.009986, allocations: 8.031 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.009993, allocations: 0 / 383.6 MB, free: 19.02 MB / 314.7 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.533e-05/0.01007, allocations: 168.5 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.0101, allocations: 19.91 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.0103, allocations: 123.9 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.0103, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01031, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01031, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.01067, allocations: 413.1 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01067, allocations: 8.062 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.01072, allocations: 15.98 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01072, allocations: 4 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.01073, allocations: 0 / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.01074, allocations: 4 kB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01074, allocations: 0 / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.01093, allocations: 287 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.01095, allocations: 15.91 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.01097, allocations: 4 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.01105, allocations: 4 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.01108, allocations: 15.92 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.0111, allocations: 11.98 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.01118, allocations: 167.1 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01118, allocations: 0 / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.01153, allocations: 35.92 kB / 384.9 MB, free: 17.66 MB / 314.7 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.001386/0.01292, allocations: 498.8 kB / 385.4 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.01304, allocations: 59.59 kB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01304, allocations: 0 / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.01308, allocations: 43.53 kB / 385.5 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01333, allocations: 31.97 kB / 385.5 MB, free: 17.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.01364, allocations: 265.3 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.051e-05/0.01367, allocations: 79.52 kB / 385.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.682e-05/0.01371, allocations: 16.62 kB / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.01377, allocations: 98.19 kB / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01377, allocations: 0 / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of Templates: time 0.00374/0.01751, allocations: 2.34 MB / 388.3 MB, free: 14.44 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4334333441220224]