Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.0008091/0.0008091, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009843/0.001793, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006907/0.0006907, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008817/0.001572, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.029/1.029, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0995/1.129, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.289/0.289, allocations: 34.88 MB / 279.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03051/0.3195, allocations: 13.24 MB / 292.8 MB, free: 6.371 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.109e-05/5.413e-05, allocations: 2.312 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002356/0.00241, allocations: 1.771 MB / 296 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.003731, allocations: 1.013 MB / 297 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.00381, allocations: 0 / 297 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.004042, allocations: 59.62 kB / 297 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.004299, allocations: 95.48 kB / 297.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.004491, allocations: 87.48 kB / 297.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.004651, allocations: 91.7 kB / 297.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.004694, allocations: 4.234 kB / 297.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.004828, allocations: 87.73 kB / 297.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.004913, allocations: 23.92 kB / 297.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.004928, allocations: 4 kB / 297.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.005009, allocations: 31.92 kB / 297.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.005059, allocations: 23.88 kB / 297.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.005088, allocations: 15.94 kB / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.005247, allocations: 99.59 kB / 297.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.00526, allocations: 4 kB / 297.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005261, allocations: 3.938 kB / 297.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.00527, allocations: 0 / 297.6 MB, free: 1.562 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004324/0.005702, allocations: 360.9 kB / 297.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.005735, allocations: 11.44 kB / 297.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.005769, allocations: 8.938 kB / 298 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.005939, allocations: 154.5 kB / 298.1 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.005958, allocations: 8.359 kB / 298.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.005969, allocations: 4.375 kB / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.006074, allocations: 61.7 kB / 298.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.00608, allocations: 4.188 kB / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.006087, allocations: 384 / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.006095, allocations: 3.938 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.006114, allocations: 4 kB / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.66e-05/0.00621, allocations: 74.69 kB / 298.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.006292, allocations: 41.42 kB / 298.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.006312, allocations: 12.86 kB / 298.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.006322, allocations: 0 / 298.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.006424, allocations: 66.16 kB / 298.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.006426, allocations: 0 / 298.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001248/0.00655, allocations: 57.67 kB / 298.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.006581, allocations: 55.41 kB / 298.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.006703, allocations: 219.9 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.006716, allocations: 25.7 kB / 298.7 MB, free: 280 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.006745, allocations: 100.1 kB / 298.8 MB, free: 176 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.006777, allocations: 15.84 kB / 298.8 MB, free: 160 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.006803, allocations: 13.72 kB / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.006898, allocations: 338.7 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.006917, allocations: 14.77 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.006937, allocations: 17.7 kB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.006976, allocations: 35.36 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006978, allocations: 0 / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.212e-05/0.00705, allocations: 64.44 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007065, allocations: 4 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.007071, allocations: 3.984 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.007084, allocations: 4 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.007145, allocations: 11.98 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007148, allocations: 4.031 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.007179, allocations: 12.25 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.007183, allocations: 0 / 299.4 MB, free: 15.61 MB / 298.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 (7): * Single equations (assignments): 7 * 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.489e-05/0.007248, allocations: 116.6 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.007261, allocations: 11.98 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.104e-05/0.007352, allocations: 66.83 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007354, allocations: 0 / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.007355, allocations: 4 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.007359, allocations: 3.938 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.86e-05/0.007437, allocations: 89.84 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007439, allocations: 4 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.007458, allocations: 4 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.007471, allocations: 11.91 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007472, allocations: 0 / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.007478, allocations: 4 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007479, allocations: 0 / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00748, allocations: 0 / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.996e-05/0.00755, allocations: 94.62 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.007564, allocations: 7.984 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.007584, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.007608, allocations: 8 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.007618, allocations: 7.984 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.239e-05/0.007671, allocations: 67.64 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007671, allocations: 0 / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001223/0.007793, allocations: 23.94 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001216/0.009009, allocations: 0.5497 MB / 300.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.009116, allocations: 32.73 kB / 300.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.009128, allocations: 4 kB / 300.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.009168, allocations: 33.11 kB / 300.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.009386, allocations: 172.4 kB / 300.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.0099, allocations: 227.5 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.009944, allocations: 75.27 kB / 301 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.00998, allocations: 8.5 kB / 301 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.01005, allocations: 67.36 kB / 301 MB, free: 14.08 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01005, allocations: 3.938 kB / 301 MB, free: 14.08 MB / 298.7 MB Notification: Performance of Templates: time 0.003854/0.0139, allocations: 1.84 MB / 302.9 MB, free: 12.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9947049086913466]