Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.002108/0.002108, allocations: 92.27 kB / 20.96 MB, free: 3.574 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.002711/0.002711, allocations: 156.9 kB / 24.27 MB, free: 276 kB / 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.509/1.509, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3576/0.3576, allocations: 34.26 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.904e-05/4.048e-05, allocations: 7.938 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003709/0.00375, allocations: 1.719 MB / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.005948, allocations: 0.9853 MB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.006038, allocations: 3.938 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.006403, allocations: 51.7 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.006851, allocations: 103.5 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.007153, allocations: 79.59 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.007439, allocations: 111.6 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.007587, allocations: 7.984 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.007731, allocations: 47.91 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.007833, allocations: 35.83 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.007857, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.007991, allocations: 43.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.008092, allocations: 27.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.008178, allocations: 23.86 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.008505, allocations: 135.5 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.008511, allocations: 3.938 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.008512, allocations: 4 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.008519, allocations: 0 / 380.7 MB, free: 15.43 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.0007542/0.009273, allocations: 369.3 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.009319, allocations: 8.031 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.009399, allocations: 16.84 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.009809, allocations: 158.5 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.009838, allocations: 16.3 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.009869, allocations: 384 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.01007, allocations: 62.23 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.01009, allocations: 4.188 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.0101, allocations: 384 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01011, allocations: 3.938 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.01021, allocations: 19.98 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.0107, allocations: 244.5 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.01091, allocations: 54.62 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.011, allocations: 20.84 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.01102, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.0112, allocations: 75.33 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 4.328e-06/0.01121, allocations: 3.984 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001059/0.01227, allocations: 193.2 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.01234, allocations: 55.39 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.01273, allocations: 275 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.01276, allocations: 25.7 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.01288, allocations: 116.1 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.01293, allocations: 35.7 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.01299, allocations: 25.66 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.01322, allocations: 330.8 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.01332, allocations: 19.98 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.01347, allocations: 37.7 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.01365, allocations: 61.7 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.01365, allocations: 0 / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002593/0.01391, allocations: 117.5 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.01393, allocations: 4 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01394, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.01396, allocations: 32 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.01407, allocations: 20 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.01408, allocations: 7.922 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.01414, allocations: 4 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01415, allocations: 4.156 kB / 383 MB, free: 12.9 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 0.0001899/0.01434, allocations: 136.1 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.01438, allocations: 19.84 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.0147, allocations: 127 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.01471, allocations: 4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.01472, allocations: 384 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.01472, allocations: 7.984 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.01535, allocations: 362.9 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.01536, allocations: 4 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.0154, allocations: 8 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.0154, allocations: 0 / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.01542, allocations: 8 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01542, allocations: 0 / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01543, allocations: 3.984 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.01579, allocations: 220.2 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.01582, allocations: 15.94 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.01585, allocations: 8 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.01593, allocations: 3.984 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.01599, allocations: 4 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.01602, allocations: 7.984 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000282/0.01631, allocations: 208.5 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01631, allocations: 0 / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.01661, allocations: 35.86 kB / 384.2 MB, free: 11.67 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.00243/0.01904, allocations: 475 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.0193, allocations: 67.84 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.0193, allocations: 0 / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.01939, allocations: 27.97 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.01982, allocations: 30.3 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.02061, allocations: 309.9 kB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.02076, allocations: 108.9 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.776e-05/0.02081, allocations: 13.28 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.02087, allocations: 24.48 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.02087, allocations: 0 / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Templates: time 0.006328/0.0272, allocations: 1.89 MB / 387.1 MB, free: 8.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.92062311200425]