Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.0009305/0.0009305, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009621/0.0009621, allocations: 161 kB / 24.56 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 0.9924/0.9924, allocations: 177.1 MB / 205 MB, free: 5.59 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.261/0.261, allocations: 32.8 MB / 294.3 MB, free: 1.273 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.76e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003393/0.003421, allocations: 1.751 MB / 377.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004577, allocations: 0.5647 MB / 378.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.004643, allocations: 0 / 378.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.004881, allocations: 23.84 kB / 378.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.005203, allocations: 83.5 kB / 378.5 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.00554, allocations: 139.5 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.005727, allocations: 91.75 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.005831, allocations: 19.92 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.005942, allocations: 47.83 kB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.006036, allocations: 35.89 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.00606, allocations: 8 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.006248, allocations: 91.88 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.00632, allocations: 23.92 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.006359, allocations: 23.91 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.006666, allocations: 155.4 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.006669, allocations: 4 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00667, allocations: 0 / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.006675, allocations: 0 / 379.1 MB, free: 1.582 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005761/0.007251, allocations: 455.8 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.007297, allocations: 8.031 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.007357, allocations: 16.89 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.007568, allocations: 144.9 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.00758, allocations: 384 / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.007617, allocations: 8.375 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.007858, allocations: 119.8 kB / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.00787, allocations: 0 / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.007884, allocations: 4 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.007892, allocations: 0 / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.951e-05/0.007952, allocations: 8 kB / 379.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.00843, allocations: 303.6 kB / 380.1 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.00857, allocations: 46.98 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.008615, allocations: 19.81 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.008643, allocations: 4 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.008675, allocations: 41.31 kB / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.008677, allocations: 4 kB / 380.2 MB, free: 284 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006964/0.009374, allocations: 161.3 kB / 380.4 MB, free: 116 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.009422, allocations: 77.11 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.00963, allocations: 209 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.009648, allocations: 29.7 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.009723, allocations: 146.8 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.009757, allocations: 31.73 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.009818, allocations: 35.38 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.009968, allocations: 0.4962 MB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.01002, allocations: 4 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.0101, allocations: 65 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.54e-05/0.01019, allocations: 39.67 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0102, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.01038, allocations: 81.81 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.0104, allocations: 8 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01041, allocations: 0 / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01043, allocations: 0 / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.0106, allocations: 32.02 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.0106, allocations: 0 / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.01068, allocations: 19.92 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01069, allocations: 0 / 381.7 MB, free: 14.76 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 (10): * Single equations (assignments): 10 * 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.0001036/0.0108, allocations: 168.5 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.01084, allocations: 7.953 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.01106, allocations: 102.4 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.01107, allocations: 384 / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01107, allocations: 0 / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01108, allocations: 3.938 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.01156, allocations: 377.2 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01156, allocations: 0 / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.01168, allocations: 23.98 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01168, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.01169, allocations: 7.875 kB / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.0117, allocations: 3.984 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.0117, allocations: 0 / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.01193, allocations: 227.8 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.01195, allocations: 7.953 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.01198, allocations: 7.938 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.01209, allocations: 15.98 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.01216, allocations: 15.97 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01217, allocations: 4 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.01228, allocations: 155.1 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01228, allocations: 0 / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000367/0.01265, allocations: 47.88 kB / 382.8 MB, free: 13.53 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 (9): * Single equations (assignments): 9 * 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.001563/0.01421, allocations: 497.3 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.01443, allocations: 51.61 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01443, allocations: 3.938 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.0145, allocations: 31.67 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.01488, allocations: 31.92 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.01544, allocations: 217.1 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.494e-05/0.0155, allocations: 63.34 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.01565, allocations: 20.47 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.01574, allocations: 24.48 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.144e-06/0.01574, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Templates: time 0.004676/0.02041, allocations: 2.654 MB / 386.4 MB, free: 10.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.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.3181069740094244]