Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001958/0.001958, allocations: 84.47 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.003193/0.003193, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.558/1.558, allocations: 177.1 MB / 204.3 MB, free: 9.207 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.2164/0.2164, allocations: 34.28 MB / 295 MB, free: 14.59 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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.142e-05, allocations: 9.656 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004594/0.004625, allocations: 1.674 MB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.006364, allocations: 0.5569 MB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.006453, allocations: 4 kB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.006816, allocations: 59.61 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.007282, allocations: 95.53 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.008021, allocations: 186.9 kB / 445.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.008274, allocations: 91.8 kB / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.008408, allocations: 12.17 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.008549, allocations: 47.88 kB / 445.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.008703, allocations: 39.89 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.008731, allocations: 4 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.00893, allocations: 59.86 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.009023, allocations: 19.92 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.875e-05/0.009092, allocations: 23.91 kB / 445.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.009428, allocations: 107.6 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.009432, allocations: 0 / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.009433, allocations: 0 / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.009439, allocations: 0 / 445.7 MB, free: 2.391 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007277/0.01017, allocations: 337.7 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.01022, allocations: 8.031 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/0.01029, allocations: 16.84 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.01058, allocations: 152.6 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.0106, allocations: 4.359 kB / 446.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.01063, allocations: 8.375 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.01089, allocations: 62.23 kB / 446.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.01091, allocations: 4.172 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.01092, allocations: 4.125 kB / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.01093, allocations: 0 / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.01115, allocations: 43.91 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.01173, allocations: 260.4 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.01207, allocations: 66.52 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.01219, allocations: 28.95 kB / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.01222, allocations: 0 / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.01226, allocations: 34.56 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.01226, allocations: 0 / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002311/0.01457, allocations: 429.3 kB / 447.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.01464, allocations: 55.39 kB / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.01488, allocations: 178.2 kB / 447.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.0149, allocations: 25.7 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.01499, allocations: 104.1 kB / 447.5 MB, free: 472 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.01505, allocations: 43.64 kB / 447.5 MB, free: 428 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.01512, allocations: 25.7 kB / 447.5 MB, free: 396 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.0153, allocations: 326.8 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.0155, allocations: 59.95 kB / 447.9 MB, free: 0 / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2104/0.2259, allocations: 51.12 kB / 448 MB, free: 19.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.2263, allocations: 123.8 kB / 448.1 MB, free: 19.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2263, allocations: 0 / 448.1 MB, free: 19.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005269/0.2268, allocations: 164.7 kB / 448.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2268, allocations: 6.25 kB / 448.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2269, allocations: 0 / 448.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2269, allocations: 1.125 kB / 448.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.2271, allocations: 26.36 kB / 448.3 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.2271, allocations: 1.641 kB / 448.3 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.737e-05/0.2272, allocations: 14.52 kB / 448.3 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2272, allocations: 2.969 kB / 448.3 MB, free: 19.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001033/0.2273, allocations: 134 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.2273, allocations: 11.75 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.2279, allocations: 192.3 kB / 448.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.2279, allocations: 5.75 kB / 448.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2279, allocations: 0 / 448.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2279, allocations: 1.656 kB / 448.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.2287, allocations: 436.5 kB / 449 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2287, allocations: 4.938 kB / 449.1 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2288, allocations: 26.56 kB / 449.1 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2288, allocations: 1.156 kB / 449.1 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2288, allocations: 2.875 kB / 449.1 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2288, allocations: 6.406 kB / 449.1 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2288, allocations: 1.828 kB / 449.1 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.2293, allocations: 271.5 kB / 449.4 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.2293, allocations: 12.25 kB / 449.4 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.2293, allocations: 1.812 kB / 449.4 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2295, allocations: 20.69 kB / 449.4 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.2296, allocations: 8.938 kB / 449.4 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2296, allocations: 3.391 kB / 449.4 MB, free: 18.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.2297, allocations: 139.4 kB / 449.5 MB, free: 18.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2297, allocations: 0 / 449.5 MB, free: 18.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003983/0.2301, allocations: 27.61 kB / 449.6 MB, free: 18.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002212/0.2323, allocations: 498.8 kB / 450.1 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005303/0.2328, allocations: 130.8 kB / 450.2 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2328, allocations: 0 / 450.2 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.2331, allocations: 68.34 kB / 450.2 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.2336, allocations: 25.88 kB / 450.3 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.2344, allocations: 298 kB / 450.6 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2345, allocations: 105.7 kB / 450.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.2346, allocations: 34.62 kB / 450.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.2347, allocations: 17.36 kB / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2347, allocations: 0 / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Templates: time 0.006762/0.2415, allocations: 1.642 MB / 452.4 MB, free: 17.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.151874493807554]