Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001441/0.001441, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001549/0.001549, allocations: 161.7 kB / 24.27 MB, free: 172 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.586/1.586, allocations: 177.2 MB / 204.6 MB, free: 5.574 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.3846/0.3846, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.Test30,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.741e-05/3.979e-05, allocations: 6.25 kB / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.004303/0.004343, allocations: 1.677 MB / 377 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.005859, allocations: 0.5608 MB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.005956, allocations: 0 / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.006331, allocations: 79.69 kB / 377.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.006768, allocations: 107.5 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.007306, allocations: 175.5 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.007553, allocations: 99.67 kB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.007697, allocations: 12.22 kB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.007811, allocations: 51.88 kB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.007954, allocations: 55.88 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.007977, allocations: 4 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.008123, allocations: 51.92 kB / 378.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.008215, allocations: 23.91 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.008272, allocations: 23.86 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.008589, allocations: 123.5 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.008596, allocations: 0 / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.008598, allocations: 0 / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.008605, allocations: 0 / 378.3 MB, free: 1.891 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007636/0.009369, allocations: 353.5 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.009418, allocations: 12.03 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.009492, allocations: 16.84 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.009748, allocations: 154 kB / 378.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.009766, allocations: 4.375 kB / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.009802, allocations: 4.359 kB / 378.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.01003, allocations: 70.17 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01005, allocations: 192 / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.01007, allocations: 8.125 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.01007, allocations: 0 / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.01024, allocations: 47.95 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.01077, allocations: 264.4 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.01106, allocations: 54.5 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.181e-05/0.01115, allocations: 28.95 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.01118, allocations: 4 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.01123, allocations: 34.59 kB / 379.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.01123, allocations: 4 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001673/0.0129, allocations: 421 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.01296, allocations: 51.41 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.01323, allocations: 218.1 kB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.01325, allocations: 25.7 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01337, allocations: 116 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.01342, allocations: 39.69 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.01347, allocations: 25.72 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.01368, allocations: 326.8 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.01384, allocations: 52.52 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.01399, allocations: 59.95 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.0143, allocations: 124.7 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.0143, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004062/0.01471, allocations: 177.5 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.01473, allocations: 4 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.01473, allocations: 4 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.01475, allocations: 0 / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01487, allocations: 27.92 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01488, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.01495, allocations: 15.98 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01496, allocations: 0 / 381 MB, free: 15.02 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 (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.0001576/0.01511, allocations: 141.8 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.01516, allocations: 15.91 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.01565, allocations: 191.4 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01565, allocations: 0 / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01565, allocations: 3.938 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01566, allocations: 4 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.01649, allocations: 447.6 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01649, allocations: 0 / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.01661, allocations: 27.92 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.01661, allocations: 4 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01663, allocations: 4 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01663, allocations: 8 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01663, allocations: 4 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.01713, allocations: 273.1 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.01715, allocations: 19.84 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.01718, allocations: 3.984 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01728, allocations: 11.94 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.01734, allocations: 11.98 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.01735, allocations: 15.92 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.01752, allocations: 156.2 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01752, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.0178, allocations: 27.94 kB / 382.3 MB, free: 13.6 MB / 362.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: 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.002364/0.02017, allocations: 0.4886 MB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.02056, allocations: 123.8 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02056, allocations: 0 / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.02073, allocations: 71.83 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.02118, allocations: 22.78 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.02199, allocations: 347.2 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.02213, allocations: 105.8 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.02223, allocations: 32.45 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.02229, allocations: 20.5 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02229, allocations: 0 / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Templates: time 0.005705/0.02799, allocations: 1.666 MB / 385.2 MB, free: 10.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.114495363086462]