Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001741/0.001741, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002095/0.002095, 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.505/1.505, allocations: 177.2 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.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.366/0.366, allocations: 34.27 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.192e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00325/0.003282, allocations: 1.595 MB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.004725, allocations: 0.5336 MB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.004779, allocations: 0 / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.005, allocations: 27.84 kB / 379.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.005308, allocations: 79.56 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.005661, allocations: 111.6 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.005824, allocations: 63.83 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.005913, allocations: 8 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.005992, allocations: 31.91 kB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.006056, allocations: 19.92 kB / 379.8 MB, free: 480 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.006076, allocations: 4 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.006162, allocations: 31.92 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.006217, allocations: 15.92 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.006258, allocations: 15.92 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.006452, allocations: 83.66 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.006455, allocations: 0 / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006456, allocations: 0 / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.006461, allocations: 4 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005467/0.007007, allocations: 304 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.007042, allocations: 8.031 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.007095, allocations: 16.89 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.007302, allocations: 135.8 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.007316, allocations: 8.312 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.007339, allocations: 384 / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.007502, allocations: 46.25 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.007514, allocations: 4.141 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.007526, allocations: 6.062 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.00753, allocations: 7.938 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.007632, allocations: 27.97 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.008026, allocations: 216.6 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.008261, allocations: 54.48 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.008332, allocations: 12.86 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.008354, allocations: 0 / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.008383, allocations: 30.66 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.008384, allocations: 0 / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000632/0.009016, allocations: 161.3 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.009075, allocations: 59.33 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.009265, allocations: 150.2 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.009301, allocations: 25.7 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.009386, allocations: 100.1 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.009409, allocations: 11.91 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.00946, allocations: 17.72 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.00965, allocations: 318.8 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.009732, allocations: 23.98 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.009804, allocations: 23.92 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.009964, allocations: 61 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.009965, allocations: 0 / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002155/0.01018, allocations: 81.62 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.01019, allocations: 8 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.0102, allocations: 0 / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.01022, allocations: 4 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.0103, allocations: 11.98 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01031, allocations: 7.938 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.01036, allocations: 11.92 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.01036, allocations: 4 kB / 381.8 MB, free: 14.22 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 (5): * Single equations (assignments): 5 * 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.000109/0.01047, allocations: 117.8 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.01051, allocations: 7.953 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.01078, allocations: 106.1 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01079, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.01079, allocations: 3.938 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01079, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.01128, allocations: 298.2 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.01128, allocations: 3.938 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.01134, allocations: 8 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01134, allocations: 0 / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01135, allocations: 8.219 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.01136, allocations: 12.17 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01136, allocations: 4 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.01164, allocations: 179.4 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.01166, allocations: 15.92 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.01168, allocations: 3.938 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.01175, allocations: 4 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.01179, allocations: 7.984 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.0118, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.01191, allocations: 121.8 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01191, allocations: 0 / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.01218, allocations: 20 kB / 382.7 MB, free: 13.25 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 (5): * Single equations (assignments): 5 * 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.001982/0.01417, allocations: 426.7 kB / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.01438, allocations: 51.97 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01438, allocations: 0 / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.01447, allocations: 35.84 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.01483, allocations: 18.77 kB / 383.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.01533, allocations: 208.8 kB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.289e-05/0.01542, allocations: 75.33 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.01547, allocations: 11.98 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.01551, allocations: 12.5 kB / 383.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01551, allocations: 0 / 383.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Templates: time 0.00421/0.01972, allocations: 1.181 MB / 384.7 MB, free: 11.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.813237222027965]