Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.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.0009678/0.0009678, allocations: 79.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.001041/0.001041, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9886/0.9886, allocations: 177 MB / 205.2 MB, free: 5.543 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.288/0.288, allocations: 34.87 MB / 296.6 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.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.868e-05, allocations: 2.312 kB / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003335/0.003363, allocations: 1.695 MB / 380.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.005178, allocations: 1.316 MB / 381.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.005264, allocations: 7.938 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.005518, allocations: 23.84 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.005921, allocations: 91.48 kB / 381.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.006381, allocations: 171.4 kB / 382.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.006568, allocations: 79.81 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.006684, allocations: 16 kB / 382.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.006769, allocations: 47.77 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.006901, allocations: 27.91 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.006923, allocations: 4 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.007136, allocations: 91.88 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.007208, allocations: 19.92 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.00725, allocations: 19.92 kB / 382.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.007568, allocations: 143.5 kB / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.00757, allocations: 0 / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007572, allocations: 0 / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.007581, allocations: 4 kB / 382.5 MB, free: 14.65 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.0005877/0.008169, allocations: 440 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.008212, allocations: 8.031 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.008284, allocations: 12.89 kB / 383 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.008493, allocations: 140.5 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.008506, allocations: 4.312 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.008533, allocations: 8.359 kB / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.008731, allocations: 112 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.008743, allocations: 192 / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.008756, allocations: 4.375 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.008765, allocations: 384 / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.008822, allocations: 15.94 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.009241, allocations: 295.6 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.009331, allocations: 35.06 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.009362, allocations: 15.69 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.009388, allocations: 8.078 kB / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.009419, allocations: 41.33 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.009421, allocations: 0 / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005315/0.009952, allocations: 121.4 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.01, allocations: 81.11 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.01016, allocations: 204.1 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.01018, allocations: 25.7 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.01024, allocations: 142.8 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.01027, allocations: 31.73 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.01032, allocations: 23.45 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01047, allocations: 0.4923 MB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.0105, allocations: 11.98 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.01056, allocations: 57.06 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.01063, allocations: 31.69 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01063, allocations: 0 / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001424/0.01077, allocations: 69.61 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.01079, allocations: 11.98 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.01079, allocations: 3.938 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01081, allocations: 3.938 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01092, allocations: 15.98 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01092, allocations: 0 / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.01097, allocations: 8 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.01097, allocations: 4 kB / 384.9 MB, free: 11.97 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 (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 8.319e-05/0.01106, allocations: 156.6 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.0111, allocations: 19.89 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.01129, allocations: 90.66 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01129, allocations: 0 / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.0113, allocations: 0 / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0113, allocations: 4 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.01168, allocations: 337.4 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01168, allocations: 0 / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.01175, allocations: 12 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.01176, allocations: 3.984 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.01177, allocations: 0 / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.01177, allocations: 8 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01178, allocations: 8.219 kB / 385.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.01196, allocations: 219.8 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.01198, allocations: 7.938 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.012, allocations: 8 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.01208, allocations: 7.984 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.01212, allocations: 3.984 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01213, allocations: 4 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.034e-05/0.01222, allocations: 149.5 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01222, allocations: 0 / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.01255, allocations: 43.86 kB / 386 MB, free: 10.83 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 (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 Backend phase and start with SimCode phase: time 0.001493/0.01405, allocations: 486.4 kB / 386.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.0142, allocations: 39.59 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01421, allocations: 0 / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.01425, allocations: 35.67 kB / 386.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.01456, allocations: 27.11 kB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.01501, allocations: 208.8 kB / 386.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.294e-05/0.01507, allocations: 67.33 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.069e-05/0.01515, allocations: 25.02 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.0152, allocations: 24.48 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0152, allocations: 0 / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Templates: time 0.005091/0.02029, allocations: 1.996 MB / 388.9 MB, free: 8.035 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.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.127597406040877]