Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.0007662/0.0007662, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.0009009/0.0009009, allocations: 156.5 kB / 24.55 MB, free: 12 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 0.9957/0.9957, allocations: 177 MB / 204.8 MB, free: 5.57 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.267/0.267, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.045e-05, allocations: 7.016 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002211/0.002242, allocations: 1.621 MB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003521, allocations: 1.289 MB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.003581, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.003809, allocations: 39.7 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.004098, allocations: 79.56 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.004344, allocations: 111.7 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.00449, allocations: 75.7 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.004586, allocations: 11.8 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.004648, allocations: 43.89 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.00475, allocations: 19.92 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.004764, allocations: 4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.004908, allocations: 91.88 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.004954, allocations: 23.91 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.004979, allocations: 8 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005179, allocations: 131.5 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005182, allocations: 0 / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005183, allocations: 0 / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.005188, allocations: 0 / 382.3 MB, free: 14.49 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004252/0.005613, allocations: 432 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.00565, allocations: 8.031 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.005696, allocations: 8.891 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.005849, allocations: 144.4 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.00586, allocations: 8.312 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.005882, allocations: 8.359 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.006018, allocations: 104 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.006026, allocations: 192 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.006036, allocations: 384 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.006042, allocations: 384 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.006071, allocations: 15.92 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.006357, allocations: 279.7 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.0065, allocations: 43.05 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.006523, allocations: 15.69 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.006541, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.006566, allocations: 33.39 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.006567, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003224/0.006889, allocations: 105.4 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.006926, allocations: 89.03 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.007044, allocations: 189.9 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.007057, allocations: 29.7 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.007106, allocations: 142.9 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.007125, allocations: 19.86 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.007155, allocations: 27.38 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.007274, allocations: 0.4923 MB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.007295, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.007331, allocations: 49.06 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.00737, allocations: 27.69 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.007371, allocations: 0 / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.721e-05/0.007448, allocations: 61.56 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007461, allocations: 4 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.007464, allocations: 0 / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.007475, allocations: 0 / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.007516, allocations: 8.25 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.00752, allocations: 8.031 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.007543, allocations: 11.94 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.00755, allocations: 8 kB / 384.7 MB, free: 11.91 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 (5): * Single equations (assignments): 5 * 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 5.988e-05/0.00761, allocations: 152.6 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.00763, allocations: 11.89 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.007743, allocations: 81.95 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007746, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.00775, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.007752, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.007976, allocations: 325.4 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.007977, allocations: 4 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.008006, allocations: 8 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.00801, allocations: 3.984 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.008015, allocations: 0 / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.008018, allocations: 4 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.00802, allocations: 0 / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.008392, allocations: 211.8 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.008402, allocations: 7.953 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.008415, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.008447, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.008476, allocations: 15.98 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.008479, allocations: 288 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.008541, allocations: 153.8 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008541, allocations: 0 / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.008731, allocations: 35.88 kB / 385.7 MB, free: 10.84 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0009569/0.009688, allocations: 485.2 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.009789, allocations: 31.61 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009791, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.1e-05/0.009812, allocations: 19.69 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.01001, allocations: 19.92 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.01033, allocations: 177.9 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.01037, allocations: 59.34 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.235e-05/0.01041, allocations: 23.92 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.01044, allocations: 12.5 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01045, allocations: 0 / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of Templates: time 0.003664/0.01411, allocations: 2.017 MB / 388.5 MB, free: 8.102 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.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.0604287330061197]