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.001879/0.001879, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002078/0.002078, allocations: 164.8 kB / 24.27 MB, free: 156 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 1.566/1.566, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3486/0.3486, allocations: 34.26 MB / 295.2 MB, free: 0.668 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.563e-06/1.563e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.731e-05, allocations: 2.312 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003241/0.003269, allocations: 1.66 MB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004444, allocations: 0.5486 MB / 379.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.004488, allocations: 4 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006791/0.005167, allocations: 443.1 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.005823, allocations: 303.2 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.006172, allocations: 127.5 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.006436, allocations: 179.6 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.006524, allocations: 8 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.0067, allocations: 127.8 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.00701, allocations: 247.5 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.007048, allocations: 0 / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.007147, allocations: 35.98 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.007275, allocations: 83.72 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.007334, allocations: 39.73 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.007683, allocations: 246.9 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.007686, allocations: 4 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007687, allocations: 0 / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.007692, allocations: 0 / 381.3 MB, free: 14.87 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.0009227/0.008615, allocations: 0.7124 MB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.008649, allocations: 8.031 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.008735, allocations: 44.66 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.009075, allocations: 244.9 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.009094, allocations: 12.38 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.009113, allocations: 384 / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.00927, allocations: 66.16 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.009281, allocations: 4.188 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.00929, allocations: 384 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.009294, allocations: 384 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.00941, allocations: 27.92 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.01006, allocations: 467.6 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.01019, allocations: 50.98 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.01026, allocations: 23.77 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.01029, allocations: 0 / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.01033, allocations: 45.33 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.055e-06/0.01033, allocations: 11.92 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007844/0.01112, allocations: 260.7 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.01116, allocations: 51.41 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.01196, allocations: 0.6785 MB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.01198, allocations: 25.7 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.01227, allocations: 302.8 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.0123, allocations: 19.86 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.01236, allocations: 35.36 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003436/0.0127, allocations: 0.5626 MB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.995e-05/0.0128, allocations: 32.03 kB / 384.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.072e-05/0.01289, allocations: 23.98 kB / 384.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.01308, allocations: 67.83 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01308, allocations: 0 / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002823/0.01336, allocations: 141.3 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01338, allocations: 8 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01338, allocations: 0 / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.0134, allocations: 4 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01352, allocations: 15.98 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01352, allocations: 0 / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.01358, allocations: 7.984 kB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.01359, allocations: 0 / 385.2 MB, free: 10.74 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 0.0001367/0.01373, allocations: 164.5 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.01381, allocations: 51.66 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.01414, allocations: 137.5 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01414, allocations: 0 / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01415, allocations: 0 / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01415, allocations: 0 / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007885/0.01494, allocations: 0.5519 MB / 386.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01494, allocations: 0 / 386.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.01502, allocations: 15.98 kB / 386.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01502, allocations: 0 / 386.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.01503, allocations: 8 kB / 386.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01503, allocations: 0 / 386.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01503, allocations: 0 / 386.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.0154, allocations: 299.4 kB / 386.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.01546, allocations: 35.72 kB / 386.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.01548, allocations: 4 kB / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.01557, allocations: 8 kB / 386.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.01562, allocations: 7.984 kB / 386.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.01562, allocations: 0 / 386.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005066/0.01613, allocations: 446.8 kB / 386.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01613, allocations: 0 / 386.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01639, allocations: 24 kB / 386.9 MB, free: 8.93 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.003009/0.01939, allocations: 415.3 kB / 387.3 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.01966, allocations: 75.64 kB / 387.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01967, allocations: 0 / 387.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.01978, allocations: 47.75 kB / 387.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.02013, allocations: 33.89 kB / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.02116, allocations: 0.6059 MB / 388.1 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.02139, allocations: 204 kB / 388.3 MB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.02144, allocations: 15.92 kB / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.02149, allocations: 16.5 kB / 388.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.02149, allocations: 0 / 388.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of Templates: time 0.005537/0.02702, allocations: 1.459 MB / 389.7 MB, free: 6.168 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.998561555985361]