Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.0008752/0.0008752, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.00112/0.00112, allocations: 156.9 kB / 25.61 MB, free: 8.582 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.02/1.02, allocations: 177 MB / 205.9 MB, free: 4.414 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.1504/0.1504, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.611e-05, allocations: 3.25 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002742/0.002768, allocations: 1.752 MB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003896, allocations: 0.993 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.003987, allocations: 3.938 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.004293, allocations: 51.75 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.004545, allocations: 107.4 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.0047, allocations: 79.66 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.004827, allocations: 115.6 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.004911, allocations: 4 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.004987, allocations: 55.81 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.005049, allocations: 23.92 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.005063, allocations: 4 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.005133, allocations: 47.86 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.005181, allocations: 31.91 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.005213, allocations: 23.86 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.005363, allocations: 111.6 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005367, allocations: 4 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.005368, allocations: 0 / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005372, allocations: 0 / 383.5 MB, free: 19.23 MB / 314.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.0003735/0.005746, allocations: 479.6 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.005777, allocations: 12.03 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.005813, allocations: 16.84 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005954, allocations: 161.2 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.005972, allocations: 8.375 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.005987, allocations: 384 / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.006081, allocations: 62.94 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.00609, allocations: 4.188 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.006097, allocations: 384 / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.006103, allocations: 3.938 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.006126, allocations: 11.98 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.006325, allocations: 268.3 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.006401, allocations: 47.16 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.006419, allocations: 19.69 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.006429, allocations: 0 / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.653e-05/0.006506, allocations: 69.03 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.006507, allocations: 3.938 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002882/0.006795, allocations: 137.5 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.006818, allocations: 63.33 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.006922, allocations: 269.6 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.00693, allocations: 29.64 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.006973, allocations: 170.8 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.006995, allocations: 23.8 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.007022, allocations: 31.34 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.007076, allocations: 0.504 MB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.00709, allocations: 11.98 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.007111, allocations: 27.38 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.00715, allocations: 55.34 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.007151, allocations: 384 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.955e-05/0.00723, allocations: 93.48 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.007241, allocations: 5.562 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007246, allocations: 0 / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.007255, allocations: 0 / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.007313, allocations: 27.92 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.007316, allocations: 32 / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.007343, allocations: 4 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.007348, allocations: 4 kB / 386.1 MB, free: 16.43 MB / 314.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 5.169e-05/0.007399, allocations: 170.5 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.007414, allocations: 19.84 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.007525, allocations: 103.1 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.007527, allocations: 4 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.007529, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007533, allocations: 3.984 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.007723, allocations: 361.6 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.007725, allocations: 12.02 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.007747, allocations: 8 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007749, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.007756, allocations: 8 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.007758, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.007759, allocations: 3.938 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.695e-05/0.007856, allocations: 251.5 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.007867, allocations: 11.91 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.007882, allocations: 7.922 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.007922, allocations: 8 kB / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.007946, allocations: 11.98 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.007955, allocations: 0 / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.075e-05/0.008006, allocations: 192.4 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008006, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.008176, allocations: 27.94 kB / 387.3 MB, free: 15.18 MB / 314.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.000858/0.009034, allocations: 432.3 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.942e-05/0.009124, allocations: 47.59 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.009125, allocations: 0 / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.009154, allocations: 35.67 kB / 387.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.00946, allocations: 46.77 kB / 387.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.009788, allocations: 260.4 kB / 388.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.00982, allocations: 75.19 kB / 388.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.009851, allocations: 8.984 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.009906, allocations: 86.19 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009907, allocations: 64 / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of Templates: time 0.003423/0.01333, allocations: 2.093 MB / 390.3 MB, free: 12.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.418842571787536]