Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001316/0.001316, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001447/0.001447, allocations: 161.5 kB / 24.82 MB, free: 9.309 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.9193/0.9193, allocations: 177 MB / 205.1 MB, free: 5.492 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.2618/0.2618, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.381e-05, allocations: 6.312 kB / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002014/0.002028, allocations: 1.639 MB / 380.9 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007565/0.002784, allocations: 0.5486 MB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.002843, allocations: 0 / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.003077, allocations: 91.67 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.003322, allocations: 115.5 kB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.003557, allocations: 115.6 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003688, allocations: 87.75 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.003767, allocations: 11.98 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.003828, allocations: 43.89 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.003907, allocations: 59.86 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.003919, allocations: 0 / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.003993, allocations: 51.86 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.004032, allocations: 23.91 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.004052, allocations: 15.94 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.004187, allocations: 103.6 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004189, allocations: 0 / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00419, allocations: 0 / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004193, allocations: 0 / 382.1 MB, free: 14.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003521/0.004545, allocations: 447.8 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.004582, allocations: 12.03 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.004617, allocations: 8.891 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.004739, allocations: 160.3 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.004748, allocations: 384 / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.004763, allocations: 4.375 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.928e-05/0.004853, allocations: 58.95 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.004863, allocations: 4.172 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.004869, allocations: 4.312 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.004876, allocations: 4.375 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.004899, allocations: 7.938 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.005125, allocations: 276.3 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.766e-05/0.005172, allocations: 39.06 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.005188, allocations: 15.77 kB / 383.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.005206, allocations: 0 / 383.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.005225, allocations: 33.39 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.005226, allocations: 4 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004029/0.005629, allocations: 161.5 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.005652, allocations: 51.41 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.005773, allocations: 249.8 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.005784, allocations: 29.7 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.005837, allocations: 154.8 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.005862, allocations: 35.72 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.005892, allocations: 23.38 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.006002, allocations: 0.5079 MB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.006016, allocations: 4 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.006032, allocations: 11.98 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.006067, allocations: 23.69 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006068, allocations: 0 / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003284/0.006396, allocations: 85.69 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.006407, allocations: 4 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006411, allocations: 80 / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.006422, allocations: 3.984 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/0.006477, allocations: 12 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006481, allocations: 7.984 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.006499, allocations: 7.984 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.006505, allocations: 4 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.13e-05/0.006566, allocations: 156.6 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.006589, allocations: 15.89 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.006703, allocations: 91.02 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006705, allocations: 0 / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.006706, allocations: 0 / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006709, allocations: 3.984 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.00696, allocations: 349.6 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006962, allocations: 4.031 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.006997, allocations: 15.98 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006999, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.007004, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007005, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.007007, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.007115, allocations: 239.4 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.007124, allocations: 7.953 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.007136, allocations: 4 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.00717, allocations: 4 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.007191, allocations: 11.98 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.007195, allocations: 4 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.007255, allocations: 163.1 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007255, allocations: 0 / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.007423, allocations: 27.92 kB / 385.6 MB, free: 11.11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008277/0.00825, allocations: 433.2 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.324e-05/0.008333, allocations: 43.64 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.008335, allocations: 0 / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.00836, allocations: 31.61 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.008565, allocations: 35.81 kB / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.008857, allocations: 237.8 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.01e-05/0.008897, allocations: 71.33 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.008933, allocations: 12.72 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.00899, allocations: 86.14 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.00899, allocations: 4.062 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of Templates: time 0.003121/0.01211, allocations: 1.554 MB / 388.1 MB, free: 8.695 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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: 2.8391758878715336]