Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.0009903/0.0009903, allocations: 75.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.00105/0.00105, allocations: 165.1 kB / 24.99 MB, free: 8.797 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.9586/0.9586, allocations: 177 MB / 205.2 MB, free: 5.59 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.291/0.291, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.481e-05, allocations: 8.5 kB / 378.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002563/0.002588, allocations: 1.762 MB / 380.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.003943, allocations: 1.005 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.004023, allocations: 3.938 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.004291, allocations: 47.69 kB / 381.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.004597, allocations: 95.53 kB / 381.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.004795, allocations: 75.61 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.004961, allocations: 115.6 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.005041, allocations: 8 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.005128, allocations: 59.81 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.005192, allocations: 23.92 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.005208, allocations: 4 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.005297, allocations: 47.91 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.00535, allocations: 19.92 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.005392, allocations: 19.92 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.005576, allocations: 103.5 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.00558, allocations: 4 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00558, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.005584, allocations: 4 kB / 382.2 MB, free: 14.92 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.0004516/0.006036, allocations: 447.9 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.006071, allocations: 8.031 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.006121, allocations: 16.84 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.006288, allocations: 149.1 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.006305, allocations: 4.312 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.006326, allocations: 8.375 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.006445, allocations: 58.94 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.006455, allocations: 4.188 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.006467, allocations: 4.375 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.006475, allocations: 7.938 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.006513, allocations: 11.98 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.007036, allocations: 283.8 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.007145, allocations: 55.11 kB / 383.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.007177, allocations: 19.67 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.007189, allocations: 4 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.007293, allocations: 68.98 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.007294, allocations: 0 / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000406/0.0077, allocations: 157.4 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.007731, allocations: 51.41 kB / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.007889, allocations: 238.3 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.007905, allocations: 33.64 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.007965, allocations: 150.9 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.007993, allocations: 23.8 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.008036, allocations: 35.3 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.008155, allocations: 0.4962 MB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.008183, allocations: 8 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.008229, allocations: 35.36 kB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.008298, allocations: 51.36 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.008299, allocations: 0 / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001331/0.008432, allocations: 101.5 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008445, allocations: 4 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.00845, allocations: 4 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.008464, allocations: 3.984 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.008539, allocations: 15.98 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.008544, allocations: 3.938 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.008579, allocations: 4 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.008586, allocations: 4 kB / 384.7 MB, free: 12.17 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 7.25e-05/0.008658, allocations: 162.7 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.00868, allocations: 15.89 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.008846, allocations: 107.1 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.008848, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.00885, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.008854, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.009181, allocations: 393.3 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.009185, allocations: 7.984 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.009219, allocations: 12 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.009222, allocations: 4.031 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.00923, allocations: 4 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.009233, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009234, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.009404, allocations: 255.4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.00942, allocations: 15.91 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.009439, allocations: 3.984 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.009499, allocations: 4 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.009533, allocations: 7.984 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.00955, allocations: 8 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.009637, allocations: 175 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009637, allocations: 0 / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.009891, allocations: 27.94 kB / 385.9 MB, free: 10.91 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.001042/0.01093, allocations: 437.2 kB / 386.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.01107, allocations: 55.55 kB / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01107, allocations: 0 / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-05/0.01112, allocations: 27.67 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.01143, allocations: 36.09 kB / 386.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.0118, allocations: 217.9 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.01185, allocations: 71.33 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.01189, allocations: 17.28 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.01193, allocations: 20.48 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01193, allocations: 0 / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Templates: time 0.004133/0.01606, allocations: 1.866 MB / 388.7 MB, free: 8.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.091063209110871]