Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0009969/0.0009969, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001083/0.001083, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 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.914/0.914, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2254/0.2254, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.239e-05, allocations: 10.25 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002341/0.002364, allocations: 1.63 MB / 378.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007221/0.003086, allocations: 0.522 MB / 378.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.00314, allocations: 4 kB / 378.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.003325, allocations: 23.78 kB / 378.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.003575, allocations: 75.62 kB / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.003839, allocations: 119.5 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.003965, allocations: 75.72 kB / 378.9 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.004049, allocations: 11.98 kB / 379 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.004106, allocations: 27.92 kB / 379 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.004154, allocations: 19.91 kB / 379 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.004165, allocations: 4 kB / 379 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.004231, allocations: 27.98 kB / 379 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.004267, allocations: 11.94 kB / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.004289, allocations: 19.97 kB / 379.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.004414, allocations: 63.75 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004416, allocations: 0 / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004417, allocations: 4 kB / 379.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.00442, allocations: 3.938 kB / 379.1 MB, free: 1.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003291/0.004749, allocations: 412.1 kB / 379.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004784, allocations: 12.02 kB / 379.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.004813, allocations: 12.89 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.005171, allocations: 132.5 kB / 379.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.005179, allocations: 384 / 379.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.005194, allocations: 8.359 kB / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.597e-05/0.00528, allocations: 54.95 kB / 379.7 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005288, allocations: 192 / 379.7 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005296, allocations: 8.125 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.0053, allocations: 4 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.005321, allocations: 11.92 kB / 379.8 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.005537, allocations: 248.4 kB / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.00566, allocations: 39.05 kB / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.005675, allocations: 15.67 kB / 380.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.005695, allocations: 4 kB / 380.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.005718, allocations: 49.34 kB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.005719, allocations: 0 / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002462/0.005965, allocations: 85.52 kB / 380.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.005987, allocations: 55.41 kB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.006073, allocations: 192.6 kB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.006081, allocations: 25.7 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.006134, allocations: 146.8 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.006154, allocations: 19.8 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.006187, allocations: 27.36 kB / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.006316, allocations: 0.4961 MB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.006331, allocations: 7.984 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.006341, allocations: 4 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.006372, allocations: 19.69 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006373, allocations: 4 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.039e-05/0.006444, allocations: 61.52 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.006455, allocations: 10.03 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.006459, allocations: 0 / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.006469, allocations: 0 / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.006512, allocations: 11.98 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006515, allocations: 0 / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.006536, allocations: 4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.006541, allocations: 4 kB / 381.3 MB, free: 15.36 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 5.878e-05/0.0066, allocations: 156.6 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.006618, allocations: 15.89 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.006719, allocations: 66.39 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.006722, allocations: 4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006724, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.006726, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.006923, allocations: 294 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.006925, allocations: 0 / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.006953, allocations: 11.98 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006955, allocations: 4 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.006959, allocations: 0 / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.00696, allocations: 0 / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006961, allocations: 7.938 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.58e-05/0.007057, allocations: 211.8 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.007067, allocations: 7.953 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.007076, allocations: 0 / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.229e-05/0.007108, allocations: 4.266 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.007127, allocations: 4 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.00713, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.997e-05/0.00718, allocations: 153.9 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00718, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000153/0.007333, allocations: 12 kB / 382.2 MB, free: 14.36 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.0007432/0.008077, allocations: 392.6 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.326e-05/0.00815, allocations: 31.61 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008152, allocations: 0 / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.00817, allocations: 19.69 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.00837, allocations: 28.12 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.008633, allocations: 170.6 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.008668, allocations: 71.27 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.708e-05/0.008695, allocations: 8 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.008748, allocations: 82.19 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008749, allocations: 0 / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of Templates: time 0.002656/0.0114, allocations: 1.287 MB / 384.3 MB, free: 12.37 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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: 2.7769270492717624]