Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.0009509/0.0009509, 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.0009573/0.0009573, 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.079/1.079, allocations: 177 MB / 205.9 MB, free: 4.418 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.1645/0.1645, allocations: 34.87 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.709e-05, allocations: 7.25 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001936/0.001954, allocations: 1.754 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003012, allocations: 0.993 MB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.0031, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.003391, allocations: 51.75 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.003699, allocations: 115.4 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.003895, allocations: 75.61 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.004023, allocations: 107.7 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.794e-05/0.004101, allocations: 7.938 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.004171, allocations: 59.81 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.004234, allocations: 19.92 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.004247, allocations: 4 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.004316, allocations: 47.91 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.004359, allocations: 31.86 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.00439, allocations: 27.86 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.00453, allocations: 111.6 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004531, allocations: 4 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004532, allocations: 0 / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.004536, 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.0003218/0.004858, allocations: 483.5 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.004889, allocations: 12.03 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.004922, allocations: 16.84 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.005038, allocations: 161.3 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005052, allocations: 4.375 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.005066, allocations: 384 / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.005145, allocations: 62.94 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.005152, allocations: 8.125 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.005158, allocations: 384 / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.005162, allocations: 3.938 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.005186, allocations: 11.98 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.005366, allocations: 268.4 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.005435, allocations: 47.17 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.005453, allocations: 19.62 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.005462, allocations: 0 / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/0.005528, allocations: 69.03 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.005528, allocations: 0 / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002669/0.005795, allocations: 141.4 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.005815, allocations: 59.41 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.005908, allocations: 265.6 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.005915, allocations: 25.7 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.005954, allocations: 174.8 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.005975, allocations: 23.78 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.006001, allocations: 27.36 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.006048, allocations: 0.504 MB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.006062, allocations: 15.98 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/0.006084, allocations: 31.3 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.006121, allocations: 47.8 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.006122, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.81e-05/0.0062, allocations: 97.42 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.00621, allocations: 7.984 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006214, allocations: 7.938 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.006221, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.006274, allocations: 16 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.006276, allocations: 4.031 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.006301, allocations: 0 / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.006307, allocations: 11.98 kB / 386.1 MB, free: 16.42 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 4.623e-05/0.006353, allocations: 164.5 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.006368, allocations: 23.83 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.006473, allocations: 99.12 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.006476, allocations: 7.938 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.00648, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006484, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.00667, allocations: 373.6 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006671, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.006692, allocations: 8 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.006693, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.0067, allocations: 8 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.006702, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006702, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.071e-05/0.006793, allocations: 255.4 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.006804, allocations: 15.89 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.006818, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.006858, allocations: 8 kB / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.00688, allocations: 12.02 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-06/0.00689, allocations: 4 kB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.006939, allocations: 184.5 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00694, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.00711, allocations: 31.92 kB / 387.2 MB, free: 15.17 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.0008176/0.007928, allocations: 437 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.008016, 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.553e-06/0.008017, allocations: 0 / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.008047, allocations: 39.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.0002208/0.008267, allocations: 43.64 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.008574, allocations: 256.4 kB / 388.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.008609, allocations: 75.19 kB / 388.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.348e-05/0.008643, allocations: 12.97 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.0087, allocations: 90.19 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.008701, allocations: 7.938 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of Templates: time 0.003263/0.01196, allocations: 2.084 MB / 390.3 MB, free: 12.24 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.4242790867574513]