Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001038/0.001038, 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.001349/0.001349, 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 0.9977/0.9977, allocations: 177 MB / 205.2 MB, free: 5.523 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.2649/0.2649, allocations: 34.87 MB / 296.6 MB, free: 0.5352 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.42e-05, allocations: 2.312 kB / 378.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002298/0.002322, allocations: 1.756 MB / 380.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003485, allocations: 1.012 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.003554, allocations: 3.938 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.00384, allocations: 79.69 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.004098, allocations: 115.5 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.004238, allocations: 91.48 kB / 381.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.00439, allocations: 115.6 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.004475, allocations: 11.98 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.004554, allocations: 63.81 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.00464, allocations: 59.86 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.004654, allocations: 4 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.004727, allocations: 43.92 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.004781, allocations: 23.92 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.00482, allocations: 23.86 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.004992, allocations: 103.6 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004994, allocations: 0 / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004995, allocations: 0 / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004999, allocations: 0 / 382.3 MB, free: 14.82 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.0004459/0.005445, allocations: 463.8 kB / 382.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.005481, allocations: 8.031 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.00553, allocations: 24.83 kB / 382.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.005681, allocations: 148.4 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.005697, allocations: 4.312 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.005716, allocations: 8.328 kB / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.005833, allocations: 66.94 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.005843, allocations: 192 / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.005851, allocations: 384 / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.005859, allocations: 3.938 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.005894, allocations: 19.98 kB / 383.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.006171, allocations: 283.8 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.006268, allocations: 55.11 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.006299, allocations: 19.67 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.00631, allocations: 4 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.404e-05/0.006404, allocations: 68.98 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.006405, allocations: 0 / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003653/0.006771, allocations: 157.3 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.006806, allocations: 55.41 kB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.006949, allocations: 246.7 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.006961, allocations: 25.7 kB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.007021, allocations: 158.9 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.007049, allocations: 31.72 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.00708, allocations: 31.31 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.0072, allocations: 0.5001 MB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.007227, allocations: 15.98 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.007264, allocations: 35.3 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.007319, allocations: 47.38 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.007319, allocations: 4 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001/0.007419, allocations: 89.52 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.007431, allocations: 4 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.007436, allocations: 3.984 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.007447, allocations: 4 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.007512, allocations: 15.94 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.007517, allocations: 3.938 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.007545, allocations: 8 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.00755, allocations: 0 / 384.9 MB, free: 12.02 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 6.939e-05/0.00762, allocations: 171.1 kB / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.007637, allocations: 20.22 kB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.007777, allocations: 107.1 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007779, allocations: 0 / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.007782, allocations: 0 / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.007787, allocations: 4 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.008054, allocations: 400.9 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008055, allocations: 0 / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.00808, allocations: 11.98 kB / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.008083, allocations: 4 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.00809, allocations: 4.031 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008091, allocations: 0 / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.008093, allocations: 4 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.008226, allocations: 259.4 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.008238, allocations: 15.94 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.008254, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.008295, allocations: 7.984 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.008324, allocations: 4 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.008336, allocations: 7.984 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.579e-05/0.008412, allocations: 181 kB / 386.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008412, allocations: 4 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.008584, allocations: 31.92 kB / 386.1 MB, free: 10.72 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.0008531/0.009437, allocations: 423.4 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.00955, allocations: 51.55 kB / 386.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009551, allocations: 0 / 386.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.009588, allocations: 31.67 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.009816, allocations: 39.84 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.01013, allocations: 248.6 kB / 386.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01017, allocations: 75.33 kB / 387 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.402e-05/0.0102, allocations: 17.27 kB / 387 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.01023, allocations: 16.5 kB / 387 MB, free: 9.902 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01023, allocations: 0 / 387 MB, free: 9.902 MB / 362.7 MB Notification: Performance of Templates: time 0.003246/0.01347, allocations: 1.88 MB / 388.9 MB, free: 8.055 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.177035626024008]