Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007999/0.0007999, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00123/0.00203, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002556, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9877/0.9877, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09895/1.087, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3013/0.3013, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02291/0.3243, allocations: 13.24 MB / 292.8 MB, free: 6.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 294.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.989e-05, allocations: 4.094 kB / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002217/0.002237, allocations: 1.815 MB / 296 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.00395, allocations: 1.777 MB / 297.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.004024, allocations: 0 / 297.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.004236, allocations: 39.7 kB / 297.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.004504, allocations: 99.36 kB / 297.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.004678, allocations: 87.55 kB / 298 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.004916, allocations: 107.6 kB / 298.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.004999, allocations: 11.94 kB / 298.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.00512, allocations: 82.69 kB / 298.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.005217, allocations: 35.83 kB / 298.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.005232, allocations: 8 kB / 298.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.005389, allocations: 111.7 kB / 298.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.005427, allocations: 11.94 kB / 298.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.005454, allocations: 19.94 kB / 298.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.005642, allocations: 147.5 kB / 298.5 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.005651, allocations: 0 / 298.5 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005653, allocations: 4 kB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.005661, allocations: 0 / 298.5 MB, free: 0.6602 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.0004389/0.0061, allocations: 352.9 kB / 298.9 MB, free: 300 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.006133, allocations: 12.92 kB / 298.9 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.006169, allocations: 8.938 kB / 298.9 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.006325, allocations: 146.2 kB / 299 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.00634, allocations: 384 / 299 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.006359, allocations: 4.375 kB / 299 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.006488, allocations: 109.1 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.006496, allocations: 7.938 kB / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.006502, allocations: 0 / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006508, allocations: 4 kB / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.006531, allocations: 10.81 kB / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.006718, allocations: 174 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.006796, allocations: 85.23 kB / 299.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.006813, allocations: 8.859 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.006822, allocations: 0 / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.661e-05/0.006909, allocations: 78.03 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.00691, allocations: 4 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002578/0.007167, allocations: 109.6 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.007193, allocations: 59.39 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.007283, allocations: 156.3 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.007296, allocations: 25.7 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.007326, allocations: 92.11 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.007351, allocations: 31.73 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.00738, allocations: 25.7 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.007454, allocations: 322.8 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.007468, allocations: 10.83 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.007505, allocations: 64.19 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.007545, allocations: 36.53 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.007545, allocations: 0 / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.895e-05/0.007624, allocations: 76.44 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007636, allocations: 4 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.00764, allocations: 0 / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.007654, allocations: 4.375 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.007716, allocations: 19.98 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.007721, allocations: 4 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.00775, allocations: 8.062 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.007756, allocations: 4 kB / 300.5 MB, free: 14.44 MB / 298.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 6.715e-05/0.007823, allocations: 128.6 kB / 300.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.007835, allocations: 7.938 kB / 300.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/0.007933, allocations: 75.66 kB / 300.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007935, allocations: 3.938 kB / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.007937, allocations: 0 / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.007943, allocations: 4 kB / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.00815, allocations: 283.4 kB / 301 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.008152, allocations: 4.031 kB / 301 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.008179, allocations: 15.98 kB / 301.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.00819, allocations: 11.95 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.008192, allocations: 0 / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.008198, allocations: 0 / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.008201, allocations: 4 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008202, allocations: 3.984 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.313e-05/0.008295, allocations: 218.9 kB / 301.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.00831, allocations: 4 kB / 301.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.008349, allocations: 4 kB / 301.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.008371, allocations: 11.98 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.00838, allocations: 0 / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.944e-05/0.008419, allocations: 49.06 kB / 301.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008419, allocations: 0 / 301.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.008591, allocations: 51.8 kB / 301.4 MB, free: 13.51 MB / 298.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.001543/0.01013, allocations: 0.7554 MB / 302.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.397e-05/0.01023, allocations: 52.7 kB / 302.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.01024, allocations: 4 kB / 302.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/0.01027, allocations: 24.84 kB / 302.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.01048, allocations: 192.3 kB / 302.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.0109, allocations: 204.1 kB / 302.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.01093, allocations: 75.33 kB / 302.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.01097, allocations: 13.44 kB / 302.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.01105, allocations: 79.34 kB / 302.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01105, allocations: 0 / 302.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Templates: time 0.003849/0.0149, allocations: 2.817 MB / 305.6 MB, free: 9.637 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.909025446511805]