Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001915/0.001915, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001982/0.001982, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.588/1.588, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3315/0.3315, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.26e-05/4.426e-05, allocations: 6.25 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004737/0.004781, allocations: 1.665 MB / 376.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.007857, allocations: 1.297 MB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.00792, allocations: 0 / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.008184, allocations: 35.72 kB / 378.3 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004458/0.008629, allocations: 87.55 kB / 378.4 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.00924, allocations: 167.5 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.009464, allocations: 87.69 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.009575, allocations: 15.98 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.009694, allocations: 43.89 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.009849, allocations: 27.92 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.009879, allocations: 4 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.01015, allocations: 91.88 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.01024, allocations: 23.91 kB / 378.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.0103, allocations: 19.92 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.01072, allocations: 159.4 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01072, allocations: 0 / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01072, allocations: 0 / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.01073, allocations: 0 / 379 MB, free: 1.242 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007953/0.01152, allocations: 435.6 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.01157, allocations: 12.03 kB / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.01164, allocations: 12.89 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.01194, allocations: 148.3 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.01196, allocations: 4.375 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.01198, allocations: 384 / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.01226, allocations: 103.3 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.01228, allocations: 192 / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.0123, allocations: 12.12 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.0123, allocations: 0 / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.01247, allocations: 31.97 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.01309, allocations: 291.7 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.01326, allocations: 47.05 kB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01337, allocations: 27.7 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.0134, allocations: 4 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.883e-05/0.01347, allocations: 33.39 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.01347, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009946/0.01447, allocations: 181.2 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/0.01456, allocations: 81.11 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.01486, allocations: 215.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.01489, allocations: 25.7 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01502, allocations: 138.9 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.01507, allocations: 31.73 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.01516, allocations: 27.38 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003647/0.01552, allocations: 0.5 MB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.01566, allocations: 19.98 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.01585, allocations: 77.12 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.01612, allocations: 59.59 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01612, allocations: 0 / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003829/0.0165, allocations: 101.8 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.01652, allocations: 8 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01653, allocations: 0 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01655, allocations: 4.031 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.01671, allocations: 15.98 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.01672, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.0168, allocations: 4 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01681, allocations: 4 kB / 381.6 MB, free: 14.39 MB / 362.7 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 (7): * Single equations (assignments): 7 * 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.0001827/0.01699, allocations: 168.5 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.01706, allocations: 7.953 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.01751, allocations: 102.7 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.01752, allocations: 11.98 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01753, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.01753, allocations: 3.984 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.01837, allocations: 373.4 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.01837, allocations: 4 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.0185, allocations: 19.92 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.0185, allocations: 0 / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.01852, allocations: 8 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01853, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01853, allocations: 4 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.01902, allocations: 247.8 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.01905, allocations: 7.953 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.01909, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.01925, allocations: 7.984 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.01933, allocations: 8 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.01934, allocations: 3.984 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.01954, allocations: 157.6 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01954, allocations: 4 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005325/0.02007, allocations: 43.86 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.004796/0.02487, allocations: 0.5314 MB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004416/0.02531, allocations: 67.64 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.02531, allocations: 3.938 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.02548, allocations: 43.59 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.026, allocations: 23.94 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.02683, allocations: 214.3 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.02697, allocations: 79.33 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.02711, allocations: 25 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.0272, allocations: 24.48 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0272, allocations: 4 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.01283/0.04003, allocations: 2.007 MB / 385.8 MB, free: 10.31 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.270073495921679]