Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001766/0.002777, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002643, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9201/0.9201, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.196/1.116, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.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.1352/0.1352, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02278/0.158, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.492e-05, allocations: 10.25 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002672/0.002697, allocations: 1.706 MB / 287.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005702/0.008399, allocations: 454.6 kB / 288 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.008452, allocations: 4 kB / 288 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.008925, allocations: 498.9 kB / 288.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.009208, allocations: 267.3 kB / 288.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.009574, allocations: 179.4 kB / 289 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.009779, allocations: 155.7 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.009856, allocations: 16.17 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.01002, allocations: 159.6 kB / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.0102, allocations: 191.6 kB / 289.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.01021, allocations: 4 kB / 289.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.528e-05/0.01029, allocations: 28 kB / 289.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.01038, allocations: 83.72 kB / 289.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.01041, allocations: 35.75 kB / 289.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.01063, allocations: 195 kB / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.01064, allocations: 0 / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01064, allocations: 0 / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.01065, allocations: 0 / 289.8 MB, free: 4.438 MB / 282.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.0005394/0.01119, allocations: 0.5799 MB / 290.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.01122, allocations: 8.031 kB / 290.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.01127, allocations: 28.91 kB / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.01448, allocations: 242.1 kB / 290.7 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.01448, allocations: 8.375 kB / 290.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.0145, allocations: 8.375 kB / 290.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.608e-05/0.0146, allocations: 62.86 kB / 290.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.01461, allocations: 192 / 290.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.01462, allocations: 11.94 kB / 290.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01462, allocations: 0 / 290.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.01464, allocations: 7.938 kB / 290.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.0149, allocations: 203 kB / 290.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.01503, allocations: 37.39 kB / 291 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.01504, allocations: 8.859 kB / 291 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.01506, allocations: 3.938 kB / 291 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.01508, allocations: 34.56 kB / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.01508, allocations: 0 / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002756/0.01535, allocations: 97.91 kB / 291.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.01538, allocations: 51.41 kB / 291.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.01575, allocations: 0.5205 MB / 291.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.01577, allocations: 29.7 kB / 291.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.01583, allocations: 141.3 kB / 291.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.01585, allocations: 11.84 kB / 291.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.01588, allocations: 25.69 kB / 291.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.01598, allocations: 354.7 kB / 292.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.01599, allocations: 8 kB / 292.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.016, allocations: 0 / 292.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.01604, allocations: 27.61 kB / 292.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.01604, allocations: 0 / 292.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.361e-05/0.01611, allocations: 65.59 kB / 292.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.01612, allocations: 4 kB / 292.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.01612, allocations: 8.031 kB / 292.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01614, allocations: 3.984 kB / 292.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.01619, allocations: 8 kB / 292.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.01619, allocations: 0 / 292.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.01622, allocations: 15.98 kB / 292.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.01623, allocations: 0 / 292.4 MB, free: 1.688 MB / 282.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 6.707e-05/0.0163, allocations: 116.7 kB / 292.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.01633, allocations: 23.91 kB / 292.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.01645, allocations: 89.42 kB / 292.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01645, allocations: 64 / 292.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01646, allocations: 8 kB / 292.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01646, allocations: 0 / 292.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.01671, allocations: 266.6 kB / 292.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01671, allocations: 0 / 292.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.01675, allocations: 19.98 kB / 292.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.01678, allocations: 35.66 kB / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.01678, allocations: 0 / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.01679, allocations: 0 / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.01679, allocations: 0 / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01679, allocations: 4 kB / 292.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.315e-05/0.01688, allocations: 159.5 kB / 293.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.0169, allocations: 4 kB / 293.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.01696, allocations: 0 / 293.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.01698, allocations: 7.984 kB / 293.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.01698, allocations: 0 / 293.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003588/0.02057, allocations: 287.2 kB / 293.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02057, allocations: 0 / 293.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.02078, allocations: 23.94 kB / 293.4 MB, free: 0.6055 MB / 282.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.001275/0.02205, allocations: 0.5453 MB / 294 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.701e-05/0.02213, allocations: 24.84 kB / 294 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.02214, allocations: 4 kB / 294 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.02216, allocations: 16.98 kB / 294 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.02242, allocations: 109.2 kB / 294.1 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.0232, allocations: 0.5745 MB / 294.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.132e-05/0.0233, allocations: 123.2 kB / 294.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.02333, allocations: 15.97 kB / 294.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.02339, allocations: 55.38 kB / 294.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02339, allocations: 0 / 294.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.006328/0.02972, allocations: 1.459 MB / 296.3 MB, free: 13.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.823359695263207]