Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0009374/0.0009374, 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.001232/0.001232, allocations: 165.8 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.9668/0.9668, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2508/0.2508, allocations: 32.81 MB / 294.6 MB, free: 1.18 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.767e-05, allocations: 6.25 kB / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002055/0.002072, allocations: 1.734 MB / 378.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000706/0.002778, allocations: 0.5724 MB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.002839, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.003016, allocations: 23.8 kB / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.00324, allocations: 91.48 kB / 378.9 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.003768, allocations: 179.5 kB / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003903, allocations: 103.6 kB / 379.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.703e-05/0.00398, allocations: 8 kB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.004054, allocations: 51.88 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.004111, allocations: 35.91 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.004127, allocations: 4 kB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.004255, allocations: 99.81 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.004301, allocations: 31.91 kB / 379.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.004326, allocations: 19.92 kB / 379.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.004512, allocations: 163.4 kB / 379.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.004514, allocations: 0 / 379.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.004514, allocations: 0 / 379.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.004517, allocations: 0 / 379.6 MB, free: 1.238 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.0003723/0.00489, allocations: 463.8 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.004922, allocations: 12.02 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.004953, allocations: 12.89 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.005079, allocations: 145 kB / 380.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005088, allocations: 4.375 kB / 380.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.005114, allocations: 4.375 kB / 380.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.005255, allocations: 115.8 kB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.005263, allocations: 0 / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.005271, allocations: 8 kB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.005276, allocations: 0 / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.005302, allocations: 7.984 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.00558, allocations: 296.2 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.461e-05/0.005654, allocations: 43.05 kB / 380.7 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.005687, allocations: 23.83 kB / 380.7 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.005708, allocations: 3.984 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.005729, allocations: 45.33 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.00573, allocations: 0 / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003599/0.00609, allocations: 145.4 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.006118, allocations: 77.11 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.006217, allocations: 204.9 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.00623, allocations: 37.7 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.006277, allocations: 146.8 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.006298, allocations: 35.72 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.006336, allocations: 27.38 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.006442, allocations: 0.5 MB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.006464, allocations: 11.92 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.006504, allocations: 57.06 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.006551, allocations: 31.62 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006552, allocations: 0 / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.266e-05/0.006645, allocations: 77.86 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.006655, allocations: 4 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00666, allocations: 8.031 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.006669, allocations: 0 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.006748, allocations: 27.97 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.00675, allocations: 0 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.006792, allocations: 19.92 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.0068, allocations: 7.984 kB / 382.2 MB, free: 14.44 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 6.254e-05/0.006863, allocations: 164.5 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.006886, allocations: 15.91 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.006998, allocations: 90.41 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007, allocations: 4 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007002, allocations: 0 / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007005, allocations: 0 / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.007259, allocations: 345.9 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007261, allocations: 0 / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.00732, allocations: 23.98 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007323, allocations: 0 / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.007328, allocations: 0 / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.00733, allocations: 7.906 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007331, allocations: 7.938 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.007445, allocations: 228.1 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.007455, allocations: 7.953 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.007466, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.596e-05/0.007522, allocations: 23.92 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.007558, allocations: 11.98 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.007562, allocations: 0 / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.007616, allocations: 161.4 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007616, allocations: 0 / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000185/0.007801, allocations: 55.8 kB / 383.3 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 (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.0008988/0.0087, allocations: 494.2 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.008802, allocations: 43.61 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008804, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.008842, allocations: 39.59 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.009065, allocations: 41.36 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.009432, allocations: 214.6 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.279e-05/0.009485, allocations: 67.34 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.496e-05/0.00955, allocations: 16.48 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.009661, allocations: 98.17 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009661, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Templates: time 0.004614/0.01428, allocations: 3.007 MB / 387.3 MB, free: 9.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.0092945750802755]