Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.0008967/0.0008967, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.0009685/0.0009685, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 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.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.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.3086/0.3086, allocations: 34.86 MB / 296.6 MB, free: 0.5547 MB / 266.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.012e-05, allocations: 2.312 kB / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003109/0.003129, allocations: 1.767 MB / 380.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.004923, allocations: 1.012 MB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.005016, allocations: 4 kB / 381.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.005296, allocations: 43.7 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.005553, allocations: 95.53 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.005713, allocations: 79.59 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.005855, allocations: 107.6 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.005939, allocations: 4 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.006017, allocations: 59.83 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/0.006086, allocations: 27.91 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.006101, allocations: 4 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.006178, allocations: 51.84 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.006224, allocations: 23.92 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.00626, allocations: 15.94 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.006422, allocations: 95.59 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006424, allocations: 0 / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006424, allocations: 4 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.006428, allocations: 0 / 382.2 MB, free: 14.91 MB / 362.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.000401/0.006829, allocations: 455.8 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.006862, allocations: 8.031 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.006904, allocations: 16.84 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.007058, allocations: 153.1 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.007075, allocations: 8.375 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.007094, allocations: 8.359 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.0072, allocations: 58.94 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.007212, allocations: 4.188 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.007222, allocations: 384 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.007228, allocations: 3.938 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.007261, allocations: 8 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.00753, allocations: 299.7 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.508e-05/0.007625, allocations: 51.16 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.007655, allocations: 23.62 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.007665, allocations: 0 / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.837e-05/0.007753, allocations: 72.92 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.007754, allocations: 0 / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003606/0.008115, allocations: 153.4 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.008143, allocations: 55.39 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.008271, allocations: 242.3 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.008282, allocations: 25.7 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.008336, allocations: 150.9 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.008363, allocations: 27.78 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.008395, allocations: 27.38 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.008503, allocations: 0.4962 MB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.008526, allocations: 11.98 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.008559, allocations: 31.38 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.008613, allocations: 51.3 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.008614, allocations: 4 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001003/0.008715, allocations: 97.52 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.008727, allocations: 8 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.008731, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.00874, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.008806, allocations: 19.92 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.008812, allocations: 4 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.008837, allocations: 0 / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.008844, allocations: 4.375 kB / 384.8 MB, free: 12.15 MB / 362.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 7.758e-05/0.008921, allocations: 167 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.008938, allocations: 19.92 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.009074, allocations: 99.08 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.009079, allocations: 7.984 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.009083, allocations: 4 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009086, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.009351, allocations: 393 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.009352, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.009376, allocations: 8 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.009378, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.009386, allocations: 8.016 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.009387, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009388, allocations: 7.875 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.009523, allocations: 255.4 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.009535, allocations: 11.91 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.009553, allocations: 8 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.009592, allocations: 0 / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.009623, allocations: 11.97 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.009635, allocations: 8 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.009707, allocations: 171.1 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009708, allocations: 0 / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.009882, allocations: 27.94 kB / 385.9 MB, free: 10.88 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: 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.0008472/0.01073, allocations: 432.9 kB / 386.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01084, allocations: 55.53 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01084, allocations: 0 / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.01088, allocations: 31.61 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.0111, allocations: 31.98 kB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.01141, allocations: 222.1 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.01145, allocations: 67.33 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.01148, allocations: 21.27 kB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.01151, allocations: 16.5 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01152, allocations: 0 / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003284/0.0148, allocations: 1.863 MB / 388.7 MB, free: 8.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.0966351598035544]