Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0009946/0.0009946, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001051/0.001051, allocations: 165 kB / 24.56 MB, free: 12 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 0.9931/0.9931, allocations: 177.1 MB / 205 MB, free: 5.633 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.2533/0.2533, allocations: 32.81 MB / 294.3 MB, free: 1.254 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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.699e-05/3.876e-05, allocations: 2.312 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002758/0.002796, allocations: 1.728 MB / 377.8 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.003625, allocations: 0.5491 MB / 378.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.003686, allocations: 0 / 378.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.003932, allocations: 71.7 kB / 378.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.004276, allocations: 107.5 kB / 378.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.004612, allocations: 135.6 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.004778, allocations: 83.75 kB / 378.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.004884, allocations: 16.22 kB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.00497, allocations: 51.88 kB / 378.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.005078, allocations: 55.86 kB / 378.8 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.005094, allocations: 4 kB / 378.8 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.591e-05/0.00519, allocations: 55.86 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.005264, allocations: 23.92 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.005294, allocations: 19.92 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.0055, allocations: 99.59 kB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.005504, allocations: 3.984 kB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.005506, allocations: 0 / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.005511, allocations: 0 / 379 MB, free: 1.609 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.0004876/0.005999, allocations: 443.9 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.006039, allocations: 12.03 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.006085, allocations: 12.84 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.00624, allocations: 165 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.00625, allocations: 384 / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.006278, allocations: 4.375 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.006417, allocations: 62.94 kB / 379.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.006428, allocations: 8.078 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.00644, allocations: 8.125 kB / 379.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.006448, allocations: 4 kB / 379.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.006486, allocations: 11.98 kB / 379.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.00686, allocations: 291.8 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.007052, allocations: 63 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.007081, allocations: 23.8 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.007102, allocations: 0 / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.007126, allocations: 41.33 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.007127, allocations: 0 / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006268/0.007754, allocations: 249.5 kB / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.007783, allocations: 55.41 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.007947, allocations: 238.4 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.007964, allocations: 25.7 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.008046, allocations: 150.9 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.008076, allocations: 39.64 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.008115, allocations: 35.36 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.008247, allocations: 0.4961 MB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/0.008279, allocations: 16 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.008307, allocations: 15.98 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/0.008378, allocations: 51.61 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00838, allocations: 0 / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002359/0.008615, allocations: 93.91 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.008632, allocations: 8 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.008638, allocations: 0 / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.008656, allocations: 0 / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.008739, allocations: 23.98 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.008745, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.008776, allocations: 11.94 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.008783, allocations: 0 / 381.6 MB, free: 14.79 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 8.296e-05/0.008866, allocations: 168.5 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.008892, allocations: 19.89 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.009063, allocations: 115.1 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009066, allocations: 4 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.009069, allocations: 0 / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009072, allocations: 0 / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.009419, allocations: 424.5 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.009422, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.009484, allocations: 23.98 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.009488, allocations: 0 / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.009496, allocations: 4 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.009501, allocations: 8 kB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009502, allocations: 0 / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.009685, allocations: 267.1 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.009699, allocations: 7.953 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.009719, allocations: 7.984 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.00978, allocations: 7.938 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.009836, allocations: 12.17 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.009844, allocations: 8 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.269e-05/0.009936, allocations: 167.2 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009936, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.01013, allocations: 27.98 kB / 382.9 MB, free: 13.45 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.001083/0.01121, allocations: 435.1 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.01135, allocations: 63.53 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01135, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.0114, allocations: 39.61 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.01163, allocations: 27.17 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.01209, allocations: 269.5 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01213, allocations: 71.33 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.127e-05/0.01217, allocations: 12.48 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.01221, allocations: 24.48 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01221, allocations: 4 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003794/0.01601, allocations: 1.583 MB / 385.4 MB, free: 11.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.344476440921426]