Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002315/0.002315, allocations: 91.62 kB / 20.96 MB, free: 3.461 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.002791/0.002791, allocations: 161.3 kB / 24.27 MB, free: 156 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.63/1.63, allocations: 177.2 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3484/0.3484, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.954e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003318/0.003347, allocations: 1.677 MB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004584, allocations: 0.5725 MB / 379.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.004642, allocations: 0 / 379.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.004942, allocations: 75.7 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.005266, allocations: 99.52 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.005707, allocations: 175.5 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.005908, allocations: 103.7 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.006018, allocations: 16.22 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.006136, allocations: 55.81 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.006258, allocations: 51.88 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.006279, allocations: 4 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.006402, allocations: 59.91 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.006478, allocations: 27.91 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.00652, allocations: 15.94 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.006777, allocations: 123.6 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.00678, allocations: 0 / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006781, allocations: 0 / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006785, allocations: 4 kB / 380.4 MB, free: 15.87 MB / 362.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.0006523/0.007438, allocations: 451.5 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.007478, allocations: 12.03 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.007539, allocations: 16.84 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.007768, allocations: 156.9 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.007782, allocations: 8.375 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.007807, allocations: 4.359 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.007977, allocations: 62.17 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.007991, allocations: 192 / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.008006, allocations: 8.125 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.00801, allocations: 0 / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.008125, allocations: 23.98 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.008674, allocations: 327.6 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.008938, allocations: 66.97 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.587e-05/0.009014, allocations: 27.8 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.009033, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.009067, allocations: 37.48 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.009068, allocations: 7.875 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001159/0.01023, allocations: 297 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.01028, allocations: 51.41 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.01055, allocations: 253.8 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.01058, allocations: 25.7 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.0107, allocations: 162.8 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.01076, allocations: 39.7 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.01082, allocations: 31.36 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004644/0.01129, allocations: 0.5079 MB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.01139, allocations: 31.98 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.01148, allocations: 31.97 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.0117, allocations: 83.53 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.0117, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002746/0.01197, allocations: 117.9 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01199, allocations: 10.03 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.012, allocations: 0 / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01201, allocations: 4 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01213, allocations: 23.98 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.01213, allocations: 3.938 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.01218, allocations: 4 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.0122, allocations: 11.98 kB / 383.2 MB, free: 12.82 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.0001309/0.01233, allocations: 164.5 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.01237, allocations: 15.91 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.01273, allocations: 139.6 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.01273, allocations: 4 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01274, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01274, allocations: 4 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.01344, allocations: 468.6 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01344, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.01354, allocations: 27.92 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01354, allocations: 0 / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01356, allocations: 4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.01356, allocations: 12 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.01357, allocations: 3.984 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.01395, allocations: 287.1 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.01398, allocations: 15.91 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.014, allocations: 3.938 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.01409, allocations: 11.92 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.01414, allocations: 11.98 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01415, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.0143, allocations: 176.2 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0143, allocations: 4 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.01456, allocations: 27.94 kB / 384.6 MB, free: 11.37 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.003251/0.01782, allocations: 0.4914 MB / 385.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.01813, allocations: 87.58 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01814, allocations: 4 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.01827, allocations: 55.59 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.01861, allocations: 23.89 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.01928, allocations: 305 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.01942, allocations: 105.9 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.862e-05/0.01951, allocations: 32.44 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.01956, allocations: 16.5 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01956, allocations: 4 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005391/0.02495, allocations: 1.657 MB / 387.3 MB, free: 8.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.98954792402219]