Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001156/0.001156, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002001/0.003157, 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.001206/0.001206, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002789, 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 1.063/1.063, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.166, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.3118/0.3118, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03022/0.342, allocations: 13.24 MB / 292.8 MB, free: 6.387 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.726e-05, allocations: 3.516 kB / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002925/0.002953, allocations: 1.889 MB / 296.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.00464, allocations: 1.103 MB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.004741, allocations: 4 kB / 297.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.005114, allocations: 303 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.00552, allocations: 255 kB / 297.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.005793, allocations: 111.5 kB / 297.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.00614, allocations: 267.2 kB / 298.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.00619, allocations: 6.469 kB / 298.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.006457, allocations: 225 kB / 298.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.006667, allocations: 172.1 kB / 298.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.006692, allocations: 8 kB / 298.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.006811, allocations: 43.94 kB / 298.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.006919, allocations: 132.3 kB / 298.7 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.006977, allocations: 63.62 kB / 298.7 MB, free: 444 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.007249, allocations: 267 kB / 299 MB, free: 176 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.007262, allocations: 0 / 299 MB, free: 176 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007263, allocations: 0 / 299 MB, free: 176 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.007274, allocations: 0 / 299 MB, free: 176 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007786/0.008052, allocations: 0.6912 MB / 299.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.008088, allocations: 8.031 kB / 299.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.008147, allocations: 28.91 kB / 299.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.008513, allocations: 294 kB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.008533, allocations: 8.375 kB / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.00855, allocations: 8.375 kB / 300 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.008715, allocations: 87.45 kB / 300.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.008723, allocations: 192 / 300.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.008734, allocations: 8.312 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.008739, allocations: 3.938 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.008775, allocations: 21.64 kB / 300.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.008964, allocations: 126.2 kB / 300.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.009127, allocations: 78.81 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.00916, allocations: 25.72 kB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.009176, allocations: 7.922 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.009314, allocations: 99.83 kB / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.009315, allocations: 0 / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001829/0.009498, allocations: 103.3 kB / 300.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.009538, allocations: 85.05 kB / 300.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.009992, allocations: 0.5945 MB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01001, allocations: 33.7 kB / 301.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.01007, allocations: 145.3 kB / 301.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.01011, allocations: 27.78 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.01014, allocations: 29.69 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01025, allocations: 366.7 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.01028, allocations: 14.81 kB / 301.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.01031, allocations: 31.44 kB / 301.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.01037, allocations: 71.81 kB / 302 MB, free: 12.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01038, allocations: 4 kB / 302 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001174/0.01049, allocations: 111.8 kB / 302.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01051, allocations: 4 kB / 302.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01051, allocations: 4 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01053, allocations: 4 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.01061, allocations: 27.92 kB / 302.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.01062, allocations: 0 / 302.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.01067, allocations: 15.89 kB / 302.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.01068, allocations: 4 kB / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.093e-05/0.01077, allocations: 132.5 kB / 302.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.0108, allocations: 27.97 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.01095, allocations: 121.9 kB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01095, allocations: 0 / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01095, allocations: 4 kB / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01096, allocations: 3.938 kB / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.01131, allocations: 173.5 kB / 302.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01131, allocations: 0 / 302.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.01135, allocations: 15.98 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.01141, allocations: 51.66 kB / 302.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01141, allocations: 4 kB / 302.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.01142, allocations: 0 / 302.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01142, allocations: 4 kB / 302.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01142, allocations: 3.938 kB / 302.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.01156, allocations: 144.8 kB / 302.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.01159, allocations: 4 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.01164, allocations: 8 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.01167, allocations: 3.984 kB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01169, allocations: 12.11 kB / 302.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.01191, allocations: 311.2 kB / 303.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01191, allocations: 0 / 303.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.01208, allocations: 55.98 kB / 303.2 MB, free: 11.67 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00127/0.01335, allocations: 0.5405 MB / 303.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.01349, allocations: 56.72 kB / 303.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/0.0135, allocations: 12 kB / 303.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/0.01356, allocations: 40.77 kB / 303.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.01399, allocations: 387.2 kB / 304.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.01497, allocations: 0.6423 MB / 304.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.799e-05/0.01506, allocations: 132.2 kB / 305 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.152e-05/0.01514, allocations: 38.95 kB / 305 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.01526, allocations: 95.34 kB / 305.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01526, allocations: 3.938 kB / 305.1 MB, free: 9.906 MB / 298.7 MB Notification: Performance of Templates: time 0.00739/0.02265, allocations: 4.319 MB / 309.4 MB, free: 5.672 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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: 3.213836509734392]