Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001049/0.001049, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00109/0.00109, allocations: 166.2 kB / 24.99 MB, free: 8.355 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2986/0.2986, allocations: 32.81 MB / 294.6 MB, free: 1.297 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.011e-05, allocations: 6.312 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002346/0.002376, allocations: 1.653 MB / 377.7 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.003152, allocations: 0.5453 MB / 378.2 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.003217, allocations: 7.938 kB / 378.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.003487, allocations: 91.69 kB / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.00375, allocations: 115.5 kB / 378.4 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.003982, allocations: 111.7 kB / 378.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.004204, allocations: 87.69 kB / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.004338, allocations: 19.97 kB / 378.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.00441, allocations: 35.91 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.004522, allocations: 59.86 kB / 378.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.004539, allocations: 4 kB / 378.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.004628, allocations: 47.91 kB / 378.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.004682, allocations: 19.92 kB / 378.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.004718, allocations: 15.94 kB / 378.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.004911, allocations: 99.53 kB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004913, allocations: 0 / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.004915, allocations: 4 kB / 378.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.00492, allocations: 0 / 378.9 MB, free: 2.051 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.0004398/0.00536, allocations: 451.8 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005395, allocations: 12.02 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.005439, allocations: 12.89 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.005659, allocations: 148.4 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.00567, allocations: 4.375 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.005693, allocations: 8.312 kB / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.005823, allocations: 62.92 kB / 379.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005833, allocations: 192 / 379.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.005844, allocations: 12.12 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005851, allocations: 0 / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.446e-05/0.005886, allocations: 11.98 kB / 379.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.006221, allocations: 299.7 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/0.006291, allocations: 43 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.006319, allocations: 19.7 kB / 380 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.006338, allocations: 3.938 kB / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.00636, allocations: 37.39 kB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.006361, allocations: 0 / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.006908, allocations: 169.3 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.006947, allocations: 55.34 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.007101, allocations: 249.9 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.007112, allocations: 25.7 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.007178, allocations: 162.8 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.007207, allocations: 31.73 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.007242, allocations: 27.38 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.007491, allocations: 0.5 MB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.007516, allocations: 11.98 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.007535, allocations: 8 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.007589, allocations: 39.91 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007591, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001027/0.007694, allocations: 73.7 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.007711, allocations: 15.92 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007716, allocations: 4 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007729, allocations: 0 / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.007808, allocations: 12 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.007814, allocations: 0 / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.007835, allocations: 7.984 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.007842, allocations: 4 kB / 381.4 MB, free: 15.36 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 (8): * Single equations (assignments): 8 * 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 7.718e-05/0.007919, allocations: 164.5 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.007944, allocations: 19.91 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.008098, allocations: 87.06 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0081, allocations: 0 / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.008104, allocations: 0 / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008108, allocations: 4 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.0084, allocations: 381 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008402, allocations: 0 / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.008443, allocations: 23.92 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008445, allocations: 4.031 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.008453, allocations: 432 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.008456, allocations: 4 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.008458, allocations: 0 / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.00858, allocations: 247.4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.00859, allocations: 7.953 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.008603, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.00864, allocations: 7.984 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.008673, allocations: 11.92 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.008679, allocations: 4 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.588e-05/0.008755, allocations: 175.1 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008755, allocations: 4 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.00893, allocations: 23.94 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001037/0.009968, allocations: 438.3 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.01008, allocations: 47.59 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01008, allocations: 0 / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.01011, allocations: 31.61 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01034, allocations: 19.98 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.01071, allocations: 249.8 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.01075, allocations: 67.34 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.0108, allocations: 25 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.01083, allocations: 12.5 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01083, allocations: 0 / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003308/0.01414, allocations: 1.424 MB / 384.8 MB, free: 11.94 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.414293471025303]