Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0008955/0.0008955, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.0009552/0.0009552, allocations: 170.8 kB / 24.82 MB, free: 9.316 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.95/0.95, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.24/0.24, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.111e-05, allocations: 6.25 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00232/0.002341, allocations: 1.634 MB / 378.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003344, allocations: 0.5297 MB / 378.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.003405, allocations: 4 kB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.003588, allocations: 19.8 kB / 378.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.003863, allocations: 79.61 kB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.004131, allocations: 115.5 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.004267, allocations: 71.78 kB / 378.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.004358, allocations: 15.92 kB / 379 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.004419, allocations: 31.91 kB / 379 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.004472, allocations: 11.92 kB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004486, allocations: 4 kB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.106e-05/0.004558, allocations: 31.98 kB / 379 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.004597, allocations: 15.92 kB / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.004619, allocations: 8 kB / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.004753, allocations: 67.75 kB / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004755, allocations: 0 / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004756, allocations: 4 kB / 379.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.00476, allocations: 0 / 379.1 MB, free: 1.742 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003171/0.005077, allocations: 420 kB / 379.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.005114, allocations: 8.031 kB / 379.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.00514, allocations: 8.891 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.005242, allocations: 138.7 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.00525, allocations: 4.375 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.005263, allocations: 4.375 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.881e-05/0.005342, allocations: 54.94 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005349, allocations: 192 / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.005357, allocations: 8.125 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.005361, allocations: 4 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.946e-05/0.00538, allocations: 11.92 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.005586, allocations: 244.5 kB / 380 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.005693, allocations: 43.03 kB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.005708, allocations: 11.69 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.005725, allocations: 0 / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.005746, allocations: 49.27 kB / 380.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 6.22e-07/0.005747, allocations: 0 / 380.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002312/0.005978, allocations: 93.53 kB / 380.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.005999, allocations: 55.41 kB / 380.3 MB, free: 480 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.006088, allocations: 196.3 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.006096, allocations: 25.7 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.006143, allocations: 146.8 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.006162, allocations: 19.8 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.00619, allocations: 27.36 kB / 380.7 MB, free: 28 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.006307, allocations: 0.4924 MB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.006319, allocations: 4 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.00633, allocations: 3.984 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.00636, allocations: 23.69 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.006361, allocations: 3.938 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.467e-05/0.006426, allocations: 65.42 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.006438, allocations: 8 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006442, allocations: 0 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.006452, allocations: 0 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.006498, allocations: 8 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.006501, allocations: 0 / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.00652, allocations: 7.984 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.006524, allocations: 0 / 381.3 MB, free: 15.39 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 (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.393e-05/0.006588, allocations: 160.6 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.006609, allocations: 15.89 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.82e-05/0.006707, allocations: 66.08 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006709, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.006711, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.006713, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.006922, allocations: 302.3 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006923, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.006953, allocations: 8 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.006957, allocations: 7.984 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-06/0.006961, allocations: 0 / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006962, allocations: 0 / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006963, allocations: 7.938 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.673e-05/0.00706, allocations: 203.8 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.007068, allocations: 7.953 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.007077, allocations: 4 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.002e-05/0.007107, allocations: 0 / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.007127, allocations: 7.984 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.00713, allocations: 0 / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.756e-05/0.007177, allocations: 143.2 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007177, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.007329, allocations: 19.98 kB / 382.2 MB, free: 14.39 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 (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.0007494/0.008078, allocations: 386.8 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.533e-05/0.008143, allocations: 27.62 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008145, allocations: 0 / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/0.008165, allocations: 27.66 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.008354, allocations: 31.09 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.00859, allocations: 170.6 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.178e-05/0.008622, allocations: 67.28 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.627e-05/0.008648, allocations: 7.984 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.008699, allocations: 78.2 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.0087, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of Templates: time 0.002647/0.01135, allocations: 1.289 MB / 384.3 MB, free: 12.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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: 2.716363911051303]