Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.00134/0.00134, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.002495/0.002495, allocations: 163.6 kB / 23.95 MB, free: 4.172 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.525/1.525, 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.231/0.231, allocations: 34.27 MB / 295 MB, free: 14.56 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.21e-05, allocations: 2.281 kB / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003492/0.003524, allocations: 1.719 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.005775, allocations: 0.982 MB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.005911, allocations: 7.938 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.006276, allocations: 31.83 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.006631, allocations: 103.5 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.006851, allocations: 87.55 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.007064, allocations: 111.6 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.007167, allocations: 8 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.007294, allocations: 55.83 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.007376, allocations: 23.91 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.007399, allocations: 4 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.007503, allocations: 39.98 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.00759, allocations: 23.92 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.007644, allocations: 23.86 kB / 446 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.007939, allocations: 127.5 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.007942, allocations: 0 / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007944, allocations: 4 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.007948, allocations: 4 kB / 446.1 MB, free: 1.938 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.0006482/0.008597, allocations: 361.4 kB / 446.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.008641, allocations: 8.031 kB / 446.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.008698, allocations: 20.84 kB / 446.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.008972, allocations: 154.3 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.008988, allocations: 384 / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.009018, allocations: 8.312 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.009201, allocations: 58.17 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.009219, allocations: 3.938 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.009232, allocations: 8 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.009238, allocations: 4 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.009319, allocations: 15.98 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.009742, allocations: 240.5 kB / 447 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.009944, allocations: 54.62 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.01001, allocations: 28.78 kB / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.01003, allocations: 0 / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.0102, allocations: 67.39 kB / 447.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.0102, allocations: 4 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006365/0.01084, allocations: 185.5 kB / 447.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.0109, allocations: 59.39 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.01118, allocations: 243.6 kB / 447.6 MB, free: 308 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.0112, allocations: 25.7 kB / 447.6 MB, free: 276 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.01128, allocations: 108.1 kB / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.01133, allocations: 23.8 kB / 447.8 MB, free: 140 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.01138, allocations: 25.7 kB / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2061/0.2175, allocations: 322.8 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2176, allocations: 22.12 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-05/0.2177, allocations: 39.45 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.2178, allocations: 62.27 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2178, allocations: 1.094 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002221/0.2181, allocations: 115.8 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2181, allocations: 4.719 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2181, allocations: 1.156 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.2181, allocations: 3.578 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2182, allocations: 18 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2182, allocations: 5.453 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.2183, allocations: 2.969 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.2183, allocations: 2.219 kB / 448.4 MB, free: 18.98 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 9.255e-05/0.2184, allocations: 132.2 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.2184, allocations: 19.64 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.2187, allocations: 125.1 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2187, allocations: 1.125 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2187, allocations: 5.031 kB / 448.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2187, allocations: 0.7969 kB / 448.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.2191, allocations: 349 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2191, allocations: 0 / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.2191, allocations: 18.02 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.2191, allocations: 1.062 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2191, allocations: 9.422 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2191, allocations: 1.953 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2191, allocations: 1.031 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2194, allocations: 216.2 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.2194, allocations: 10.78 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.2194, allocations: 7.438 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.2195, allocations: 5.141 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.2195, allocations: 11.91 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.2195, allocations: 4.953 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.2197, allocations: 179.1 kB / 449.4 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2197, allocations: 0 / 449.4 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.2199, allocations: 28.36 kB / 449.5 MB, free: 18.36 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.00177/0.2217, allocations: 498 kB / 450 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.2219, allocations: 59.78 kB / 450 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2219, allocations: 3.938 kB / 450 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.222, allocations: 36.67 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.2223, allocations: 26.86 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.2228, allocations: 260.3 kB / 450.3 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.48e-05/0.2229, allocations: 108.5 kB / 450.4 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.777e-05/0.2229, allocations: 15.45 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.223, allocations: 17.61 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.223, allocations: 0.9688 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Templates: time 0.006108/0.2291, allocations: 1.863 MB / 452.3 MB, free: 17.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.8442562483251095]