Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001374/0.001374, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00137/0.00137, allocations: 160.5 kB / 24.55 MB, free: 16 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.034/1.034, allocations: 177 MB / 204.8 MB, free: 5.602 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.2515/0.2515, 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.CombiTable2Dv.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.541e-05, allocations: 4.281 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.008031/0.008057, allocations: 1.697 MB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.01218, allocations: 0.5757 MB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.01224, allocations: 4 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.01285, allocations: 447.1 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.01335, allocations: 311.1 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.0138, allocations: 171.5 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.01408, allocations: 183.6 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.01418, allocations: 11.98 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.01433, allocations: 119.8 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.01666, allocations: 243.5 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.01669, allocations: 8 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.01678, allocations: 35.92 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01689, allocations: 95.62 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.01695, allocations: 39.75 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.01723, allocations: 195.2 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01723, allocations: 7.922 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01723, allocations: 0 / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.01723, allocations: 0 / 382.9 MB, free: 13.96 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.0007093/0.01794, allocations: 0.697 MB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.01798, allocations: 8.031 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.01806, allocations: 52.66 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.0183, allocations: 248.8 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.01832, allocations: 8.359 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.01834, allocations: 384 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.01848, allocations: 62.94 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.01849, allocations: 4.125 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.0185, allocations: 384 / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.01851, allocations: 4.375 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.01856, allocations: 15.92 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.01908, allocations: 439.6 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.006e-05/0.01917, allocations: 39.05 kB / 384.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.0192, allocations: 19.62 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.01922, allocations: 0 / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.01925, allocations: 41.33 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.01925, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005339/0.01978, allocations: 216.8 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.01982, allocations: 51.41 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.02043, allocations: 0.6277 MB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.02044, allocations: 29.7 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.02065, allocations: 290.8 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.02068, allocations: 23.8 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.02073, allocations: 27.36 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.02092, allocations: 0.5509 MB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.02095, allocations: 11.98 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.02098, allocations: 8 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.02105, allocations: 31.62 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.02105, allocations: 4 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000156/0.02121, allocations: 109.4 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.02122, allocations: 4 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.02123, allocations: 7.938 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.02124, allocations: 0 / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.02136, allocations: 23.98 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.02137, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.02142, allocations: 4 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.02143, allocations: 0 / 386.5 MB, free: 10.12 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 9.763e-05/0.02152, allocations: 164.5 kB / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.02159, allocations: 51.61 kB / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.02179, allocations: 109.9 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.02179, allocations: 4 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.02179, allocations: 0 / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.0218, allocations: 0 / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.0223, allocations: 489.2 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0223, allocations: 0 / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.02237, allocations: 19.98 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.02238, allocations: 0 / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.02239, allocations: 8 kB / 387.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.02239, allocations: 0 / 387.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.02239, allocations: 0 / 387.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.02258, allocations: 255.6 kB / 387.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.02261, allocations: 35.72 kB / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.02264, allocations: 3.938 kB / 387.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.02272, allocations: 4 kB / 387.6 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.02277, allocations: 12.27 kB / 387.6 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.02278, allocations: 4 kB / 387.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003945/0.02317, allocations: 426.8 kB / 388.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02317, allocations: 0 / 388.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.02347, allocations: 27.94 kB / 388.1 MB, free: 8.461 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.001119/0.02459, allocations: 378.7 kB / 388.5 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.02474, allocations: 39.67 kB / 388.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02474, allocations: 0 / 388.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.156e-05/0.02479, allocations: 31.61 kB / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.02518, allocations: 52.73 kB / 388.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.02604, allocations: 0.5927 MB / 389.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.02615, allocations: 123.2 kB / 389.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.67e-05/0.02622, allocations: 17.02 kB / 389.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.02626, allocations: 20.5 kB / 389.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02626, allocations: 0 / 389.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of Templates: time 0.005376/0.03164, allocations: 1.619 MB / 391 MB, free: 5.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.2095532612875104]