Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.00141/0.00141, allocations: 96.2 kB / 20.21 MB, free: 4.191 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.001471/0.001471, allocations: 157.3 kB / 23.51 MB, free: 0.8906 MB / 18.57 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 1.407/1.407, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2346/0.2346, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.905e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002593/0.002632, allocations: 1.689 MB / 348.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.003824, allocations: 0.7688 MB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.003893, allocations: 0 / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.004228, allocations: 47.7 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.00444, allocations: 51.7 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.004664, allocations: 91.69 kB / 349.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.004816, allocations: 99.62 kB / 349.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.00491, allocations: 8.219 kB / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-05/0.004997, allocations: 51.84 kB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.005069, allocations: 23.91 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.00509, allocations: 4 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.005176, allocations: 43.92 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.005233, allocations: 19.92 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.005281, allocations: 23.91 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.005461, allocations: 111.6 kB / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.005465, allocations: 0 / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005467, allocations: 7.938 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005472, allocations: 0 / 350 MB, free: 6.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004975/0.005969, allocations: 337.6 kB / 350.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.006013, allocations: 12.03 kB / 350.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.006089, allocations: 16.89 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.006294, allocations: 149.5 kB / 350.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.006311, allocations: 4.375 kB / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.006338, allocations: 8.312 kB / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.006488, allocations: 50.23 kB / 350.6 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.006505, allocations: 11.89 kB / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.006517, allocations: 8 kB / 350.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.006523, allocations: 0 / 350.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.006602, allocations: 19.98 kB / 350.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.006952, allocations: 224.6 kB / 350.9 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.007137, allocations: 58.61 kB / 350.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.007196, allocations: 24.78 kB / 350.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.007217, allocations: 4 kB / 351 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.007367, allocations: 67.38 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.007368, allocations: 8 kB / 351 MB, free: 5.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005532/0.007921, allocations: 181.3 kB / 351.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.007968, allocations: 51.41 kB / 351.3 MB, free: 5.336 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.008118, allocations: 186.3 kB / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.00813, allocations: 29.7 kB / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.008172, allocations: 104.1 kB / 351.6 MB, free: 5.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.008197, allocations: 23.81 kB / 351.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.008233, allocations: 25.64 kB / 351.6 MB, free: 4.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.0083, allocations: 326.8 kB / 351.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.008354, allocations: 20 kB / 352 MB, free: 4.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.008416, allocations: 41.7 kB / 352 MB, free: 4.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.008517, allocations: 65.64 kB / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008518, allocations: 0 / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.008681, allocations: 109.5 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.008697, allocations: 4 kB / 352.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.008703, allocations: 0 / 352.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.00873, allocations: 4 kB / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.008827, allocations: 15.98 kB / 352.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.008833, allocations: 7.969 kB / 352.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.008894, allocations: 4.375 kB / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.008902, allocations: 0 / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001048/0.009007, allocations: 137.7 kB / 352.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.009034, allocations: 15.91 kB / 352.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.009283, allocations: 122.5 kB / 352.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.009288, allocations: 4 kB / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.009294, allocations: 0 / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.009298, allocations: 0 / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.009681, allocations: 350.9 kB / 352.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.009685, allocations: 4 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.009721, allocations: 8 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.009723, allocations: 0 / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.009737, allocations: 8 kB / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009738, allocations: 0 / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009739, allocations: 0 / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.009975, allocations: 220.2 kB / 353.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.009994, allocations: 7.953 kB / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.01002, allocations: 4 kB / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.01009, allocations: 8.031 kB / 353.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.01015, allocations: 7.984 kB / 353.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01016, allocations: 7.984 kB / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.01025, allocations: 152 kB / 353.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01025, allocations: 3.938 kB / 353.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.01051, allocations: 23.98 kB / 353.3 MB, free: 3.199 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002125/0.01263, allocations: 496.8 kB / 353.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.01282, allocations: 59.89 kB / 353.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01282, allocations: 0 / 353.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.013e-05/0.01289, allocations: 28 kB / 353.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.01328, allocations: 37.5 kB / 353.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.01374, allocations: 237 kB / 354.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.01382, allocations: 88.3 kB / 354.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.738e-05/0.01387, allocations: 20.78 kB / 354.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.01391, allocations: 16.5 kB / 354.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01391, allocations: 0 / 354.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of Templates: time 0.008956/0.02287, allocations: 1.836 MB / 356.1 MB, free: 476 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.118960572057404]