Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.00162/0.00162, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.00169/0.00169, allocations: 165 kB / 24.55 MB, free: 16 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.069/1.069, 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.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.2868/0.2868, allocations: 34.27 MB / 295.7 MB, free: 0.7656 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.228e-05, allocations: 6.312 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002577/0.002609, allocations: 1.705 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.003992, allocations: 1.313 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.004084, allocations: 0 / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.004331, allocations: 23.84 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.004698, allocations: 91.48 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.005095, allocations: 171.5 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.005257, allocations: 83.7 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005362, allocations: 11.98 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.814e-05/0.00543, allocations: 43.89 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.00553, allocations: 31.91 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.005547, allocations: 8 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.005715, allocations: 95.81 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.005776, allocations: 19.92 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.005811, allocations: 19.92 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.006076, allocations: 143.5 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.00608, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.006081, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.006086, allocations: 0 / 381.8 MB, free: 14.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005711/0.006657, allocations: 432 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.006703, allocations: 8.031 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.00677, allocations: 16.88 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.006983, allocations: 148.4 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.006998, allocations: 384 / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.007027, allocations: 4.375 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.00723, allocations: 108 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.007245, allocations: 4.125 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.007263, allocations: 16.11 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.007273, allocations: 0 / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.00731, allocations: 4 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.007702, allocations: 291.7 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/0.007783, allocations: 39.05 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.007812, allocations: 27.55 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.007832, allocations: 4 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.007856, allocations: 37.47 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007857, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000568/0.008425, allocations: 129.5 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.008475, allocations: 85.09 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.008612, allocations: 193.9 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.008629, allocations: 29.7 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.008683, allocations: 142.9 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.008709, allocations: 27.73 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.008746, allocations: 27.38 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.008886, allocations: 0.4923 MB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.008916, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.00896, allocations: 57.06 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.009018, allocations: 39.56 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009019, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.352e-05/0.009112, allocations: 65.64 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.009127, allocations: 6.656 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.009132, allocations: 4.031 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.009149, allocations: 7.984 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.009231, allocations: 20 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.009236, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.009264, allocations: 7.984 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.00927, allocations: 0 / 384.2 MB, free: 12.2 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 7.806e-05/0.009348, allocations: 168.5 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.009369, allocations: 7.953 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.009512, allocations: 86.42 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.009515, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.009518, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.009521, allocations: 3.938 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.00981, allocations: 341.3 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.009812, allocations: 0 / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.009856, allocations: 15.98 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.009858, allocations: 4 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.009865, allocations: 0 / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.009868, allocations: 4.453 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009869, allocations: 0 / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.01, allocations: 223.8 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.01002, allocations: 15.95 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.01003, allocations: 0 / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.01007, allocations: 7.984 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.01012, allocations: 4 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.01012, allocations: 3.984 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.802e-05/0.01019, allocations: 151.2 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01019, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.0104, allocations: 43.86 kB / 385.3 MB, free: 11.05 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.001182/0.01159, allocations: 497.4 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.01173, allocations: 43.66 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01173, allocations: 0 / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.01177, allocations: 27.61 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.01204, allocations: 27.88 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.01258, allocations: 200.8 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.023e-05/0.01265, allocations: 67.34 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.01272, allocations: 16.7 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.01278, allocations: 24.48 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.01278, allocations: 0 / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.004792/0.01757, allocations: 2.203 MB / 388.4 MB, free: 8.098 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.337259814143181]