Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.000964/0.000964, allocations: 82.59 kB / 21.43 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.001608/0.001608, allocations: 170 kB / 24.82 MB, free: 9.254 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.9944/0.9944, allocations: 177 MB / 205.1 MB, free: 5.484 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.2572/0.2572, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.056e-05, allocations: 3.719 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002072/0.002093, allocations: 1.7 MB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006802/0.002773, allocations: 0.5368 MB / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.00282, allocations: 4 kB / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.003239, allocations: 455.1 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.003578, allocations: 295.1 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.00379, allocations: 131.5 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.003959, allocations: 179.6 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.004039, allocations: 15.97 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.004153, allocations: 115.8 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.004331, allocations: 247.6 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.004345, allocations: 0 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.004413, allocations: 35.92 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.004494, allocations: 87.66 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.004525, allocations: 47.72 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.004705, allocations: 195.2 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004706, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004707, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.004711, allocations: 4 kB / 383.3 MB, free: 13.79 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.0004962/0.005207, allocations: 0.7009 MB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.005243, allocations: 8.031 kB / 384 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.005287, allocations: 44.66 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.005453, allocations: 248.8 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.005462, allocations: 4.375 kB / 384.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.005478, allocations: 8.312 kB / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.394e-05/0.005571, allocations: 66.92 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005579, allocations: 192 / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.005585, allocations: 384 / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.00559, allocations: 384 / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.005613, allocations: 11.94 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.005896, allocations: 348.2 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.129e-05/0.005947, allocations: 35.05 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.005966, allocations: 11.69 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.005983, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.006005, allocations: 45.39 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.006006, allocations: 0 / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003109/0.006317, allocations: 145.3 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.00634, allocations: 55.41 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.006683, allocations: 0.6117 MB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.006693, allocations: 25.7 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.006827, allocations: 290.8 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.006849, allocations: 27.78 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.006879, allocations: 23.38 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.007038, allocations: 0.5702 MB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.007051, allocations: 4 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.007064, allocations: 4 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.007101, allocations: 31.66 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007102, allocations: 0 / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.649e-05/0.007188, allocations: 101.6 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.007199, allocations: 4 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.007203, allocations: 0 / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.007213, allocations: 4 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.007277, allocations: 19.92 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.00728, allocations: 0 / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.007312, allocations: 19.92 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.007316, allocations: 0 / 386.7 MB, free: 10.14 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 7.153e-05/0.007387, allocations: 164.6 kB / 386.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.007419, allocations: 47.66 kB / 386.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.007537, allocations: 97.84 kB / 387 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00754, allocations: 4 kB / 387 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.007541, allocations: 3.938 kB / 387 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007544, allocations: 0 / 387 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.007818, allocations: 401.9 kB / 387.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.00782, allocations: 7.938 kB / 387.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.00786, allocations: 19.98 kB / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007862, allocations: 0 / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.007866, allocations: 0 / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.007869, allocations: 4 kB / 387.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007869, allocations: 0 / 387.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.007986, allocations: 251.5 kB / 387.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.00801, allocations: 39.66 kB / 387.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.008024, allocations: 3.984 kB / 387.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.008067, allocations: 8 kB / 387.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.00809, allocations: 3.984 kB / 387.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.008094, allocations: 8 kB / 387.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.008286, allocations: 390.7 kB / 388.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008286, allocations: 0 / 388.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000156/0.008442, allocations: 24 kB / 388.1 MB, free: 8.621 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.0007486/0.00919, allocations: 376.3 kB / 388.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.806e-05/0.009268, allocations: 39.61 kB / 388.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.009269, allocations: 0 / 388.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.009298, allocations: 31.66 kB / 388.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.009524, allocations: 33.12 kB / 388.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.01012, allocations: 0.5827 MB / 389.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.03e-05/0.01019, allocations: 119.3 kB / 389.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.551e-05/0.01023, allocations: 15.97 kB / 389.3 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.01029, allocations: 82.14 kB / 389.4 MB, free: 7.406 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01029, allocations: 0 / 389.4 MB, free: 7.406 MB / 362.7 MB Notification: Performance of Templates: time 0.003714/0.01401, allocations: 1.628 MB / 391 MB, free: 5.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.9917578413151205]