Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.0009561/0.0009561, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002478, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001767/0.001767, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002019/0.003786, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8654/0.8654, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/1.014, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1335/0.1335, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02238/0.1559, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.966e-05/4.212e-05, allocations: 6.25 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003231/0.003273, allocations: 1.685 MB / 269.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005426/0.003816, allocations: 359.1 kB / 269.4 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.00388, allocations: 7.938 kB / 269.4 MB, free: 488 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.00433, allocations: 0.4913 MB / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.00456, allocations: 271.3 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.004828, allocations: 151.6 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.005025, allocations: 171.6 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.005119, allocations: 12.17 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.005271, allocations: 155.8 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.005447, allocations: 195.6 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.005466, allocations: 4 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.005544, allocations: 35.86 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.005621, allocations: 79.72 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.005655, allocations: 35.75 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.00585, allocations: 183.2 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.005861, allocations: 0 / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005862, allocations: 0 / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.005872, allocations: 3.938 kB / 271.2 MB, free: 14.71 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.0005429/0.006414, allocations: 0.5877 MB / 271.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.006447, allocations: 8.031 kB / 271.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.006498, allocations: 20.92 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.006699, allocations: 250 kB / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.006708, allocations: 384 / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.00673, allocations: 8.359 kB / 272.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.006841, allocations: 62.92 kB / 272.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.006851, allocations: 192 / 272.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.006858, allocations: 3.938 kB / 272.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.006863, allocations: 0 / 272.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.006885, allocations: 12 kB / 272.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.00713, allocations: 203.1 kB / 272.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.007258, allocations: 33.39 kB / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.007274, allocations: 8.859 kB / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.007291, allocations: 3.938 kB / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.007311, allocations: 34.56 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.007312, allocations: 0 / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002856/0.007598, allocations: 93.66 kB / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.007627, allocations: 51.41 kB / 272.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.007932, allocations: 0.5321 MB / 273.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.007947, allocations: 29.7 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.00801, allocations: 137.3 kB / 273.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.008032, allocations: 19.89 kB / 273.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.008058, allocations: 17.7 kB / 273.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.008153, allocations: 350.7 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.008165, allocations: 12 kB / 273.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.122e-05/0.008176, allocations: 7.984 kB / 273.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/0.008204, allocations: 19.67 kB / 273.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008205, allocations: 0 / 273.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.84e-05/0.008273, allocations: 73.59 kB / 273.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.008287, allocations: 8 kB / 273.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.00829, allocations: 3.938 kB / 273.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.008303, allocations: 0 / 273.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.008348, allocations: 15.98 kB / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.008351, allocations: 0 / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.008381, allocations: 3.953 kB / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.008387, allocations: 4 kB / 273.8 MB, free: 11.96 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.781e-05/0.008455, allocations: 112.7 kB / 273.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.008479, allocations: 27.91 kB / 273.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.008591, allocations: 85.23 kB / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008593, allocations: 0 / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.008594, allocations: 0 / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008597, allocations: 0 / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.008805, allocations: 274.9 kB / 274.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.008807, allocations: 4 kB / 274.3 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.008834, allocations: 8 kB / 274.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.008858, allocations: 35.72 kB / 274.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.00886, allocations: 4 kB / 274.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.008865, allocations: 3.984 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008866, allocations: 0 / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008867, allocations: 4 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.119e-05/0.008948, allocations: 159.4 kB / 274.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.008962, allocations: 3.984 kB / 274.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.008999, allocations: 8 kB / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.009023, allocations: 288 / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.009026, allocations: 0 / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.009189, allocations: 287.2 kB / 274.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009189, allocations: 0 / 274.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.009331, allocations: 27.92 kB / 274.8 MB, free: 10.88 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.001087/0.01042, allocations: 0.5465 MB / 275.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.935e-05/0.01049, allocations: 16.86 kB / 275.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.01049, allocations: 11.94 kB / 275.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.01052, allocations: 20.84 kB / 275.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.01074, allocations: 97.28 kB / 275.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.01143, allocations: 0.5665 MB / 276.1 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.921e-05/0.0115, allocations: 119.2 kB / 276.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.944e-05/0.01153, allocations: 12.36 kB / 276.2 MB, free: 9.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.01158, allocations: 59.38 kB / 276.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01158, allocations: 0 / 276.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of Templates: time 0.003608/0.01518, allocations: 1.453 MB / 277.7 MB, free: 7.898 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.794894623570144]