Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0016/0.0016, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001868/0.001868, allocations: 169 kB / 24.91 MB, free: 9.188 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2721/0.2721, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.517e-05, allocations: 9.5 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002002/0.002017, allocations: 1.69 MB / 327 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.003155, allocations: 1.282 MB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.003207, allocations: 0 / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.003399, allocations: 27.73 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.003635, allocations: 83.48 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.003828, allocations: 87.7 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.003943, allocations: 72.39 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.004015, allocations: 4 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.004072, allocations: 43.89 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.00416, allocations: 23.92 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.004174, allocations: 4 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.004314, allocations: 87.88 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.004353, allocations: 23.91 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.004372, allocations: 11.94 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.004544, allocations: 139.5 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004545, allocations: 0 / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004546, allocations: 0 / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004549, allocations: 0 / 328.9 MB, free: 4.031 MB / 298.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.0002853/0.004834, allocations: 301.7 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.004863, allocations: 12.03 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.004888, allocations: 4.938 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.005002, allocations: 129.7 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.005008, allocations: 384 / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.005025, allocations: 8.359 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.005126, allocations: 98.34 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.005133, allocations: 192 / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.005139, allocations: 4.125 kB / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.005144, allocations: 4 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.005162, allocations: 4 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.005341, allocations: 167 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.005445, allocations: 42.61 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.099e-05/0.005456, allocations: 4.859 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.005469, allocations: 4 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.005487, allocations: 30.56 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.005488, allocations: 0 / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002212/0.005709, allocations: 86.06 kB / 329.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.005743, allocations: 77.11 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.00583, allocations: 146.9 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.005839, allocations: 29.7 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.005869, allocations: 100 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.005891, allocations: 15.84 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.005919, allocations: 21.66 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.005998, allocations: 318.8 kB / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.006011, allocations: 8 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.006041, allocations: 47.41 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.006074, allocations: 20.83 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.006074, allocations: 0 / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.867e-05/0.006133, allocations: 53.62 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006145, allocations: 4 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006149, allocations: 4.031 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.006159, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.006198, allocations: 11.94 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.006204, allocations: 7.984 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.006222, allocations: 0 / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.006228, allocations: 4 kB / 330.6 MB, free: 2.109 MB / 298.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.56e-05/0.006283, allocations: 112.7 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.006301, allocations: 7.938 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.006374, allocations: 54.14 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006376, allocations: 4 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006378, allocations: 4 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.006381, allocations: 0 / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.006552, allocations: 211 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.006554, allocations: 4 kB / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.006579, allocations: 15.98 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006581, allocations: 0 / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.006587, allocations: 4 kB / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006587, allocations: 0 / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006588, allocations: 0 / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.006656, allocations: 147.5 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.006668, allocations: 23.89 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.006678, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.006709, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.006731, allocations: 8.266 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.006733, allocations: 0 / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.006772, allocations: 34.27 kB / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006772, allocations: 0 / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.006939, allocations: 43.86 kB / 331.3 MB, free: 1.391 MB / 298.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.00133/0.008269, allocations: 0.6298 MB / 331.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.747e-05/0.008347, allocations: 32.78 kB / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.00835, allocations: 0 / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.008366, allocations: 12.86 kB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.008518, allocations: 19.92 kB / 332 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.008784, allocations: 162.5 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.876e-05/0.008823, allocations: 62.59 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.418e-05/0.008857, allocations: 11.98 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.00892, allocations: 71.36 kB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008921, allocations: 0 / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of Templates: time 0.003445/0.01237, allocations: 1.985 MB / 334.2 MB, free: 14.69 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.0110609349794686]