Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001109/0.001109, allocations: 91.67 kB / 21.2 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.001099/0.001099, allocations: 160.5 kB / 24.56 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 1.056/1.056, allocations: 177 MB / 204.8 MB, free: 5.578 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.2909/0.2909, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.699e-05/3.93e-05, allocations: 8.703 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003403/0.003443, allocations: 1.685 MB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.00455, allocations: 0.5563 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.00463, allocations: 4 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.005286, allocations: 451.1 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.005881, allocations: 291.2 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.006308, allocations: 131.5 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.006634, allocations: 171.6 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.006759, allocations: 11.86 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.006966, allocations: 127.7 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.007271, allocations: 243.6 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.007297, allocations: 4 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.007425, allocations: 35.92 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.007556, allocations: 79.72 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.007612, allocations: 35.75 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.007959, allocations: 199.1 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.007966, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.007967, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.007974, allocations: 0 / 382.8 MB, free: 14.05 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.0008355/0.00881, allocations: 0.6971 MB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.00886, allocations: 8.031 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/0.008952, allocations: 44.66 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.009244, allocations: 244.9 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.009259, allocations: 4.359 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.009298, allocations: 12.36 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.009466, allocations: 62.89 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.009478, allocations: 192 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.00949, allocations: 384 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.0095, allocations: 4.375 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.009547, allocations: 15.92 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.01017, allocations: 427.6 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.01043, allocations: 42.98 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.01047, allocations: 19.69 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.0105, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.01053, allocations: 41.42 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.01053, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005839/0.01112, allocations: 180.8 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.01116, allocations: 59.41 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.01181, allocations: 0.6277 MB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.01182, allocations: 25.7 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.01203, allocations: 286.8 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.01206, allocations: 19.84 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.0121, allocations: 19.38 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.01231, allocations: 0.5547 MB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.01234, allocations: 7.938 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.01236, allocations: 4 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.01241, allocations: 27.61 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01241, allocations: 0 / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001394/0.01255, allocations: 97.36 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01257, allocations: 8 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.01257, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.0126, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.01267, allocations: 15.98 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01268, allocations: 0 / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.01272, allocations: 0 / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.01273, allocations: 4 kB / 386.3 MB, free: 10.3 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 0.0001028/0.01283, allocations: 164.5 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.01289, allocations: 47.66 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.01307, allocations: 93.44 kB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01307, allocations: 8 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.01308, allocations: 4.062 kB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01308, allocations: 0 / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.01357, allocations: 469.3 kB / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.01358, allocations: 0 / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.01363, allocations: 11.98 kB / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01364, allocations: 4 kB / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.01364, allocations: 0 / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01365, allocations: 0 / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01365, allocations: 0 / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.01383, allocations: 247.6 kB / 387.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.01386, allocations: 31.72 kB / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.01389, allocations: 4 kB / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.01395, allocations: 288 / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.01399, allocations: 11.92 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.014, allocations: 0 / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003715/0.01437, allocations: 430.8 kB / 387.8 MB, free: 8.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01437, allocations: 0 / 387.8 MB, free: 8.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000283/0.01465, allocations: 23.94 kB / 387.8 MB, free: 8.703 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.001119/0.01577, allocations: 384.9 kB / 388.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.01591, allocations: 31.67 kB / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01592, allocations: 0 / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.01595, allocations: 19.62 kB / 388.2 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.01634, allocations: 33.89 kB / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000969/0.01731, allocations: 0.5747 MB / 388.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.01742, allocations: 115.3 kB / 389 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.01747, allocations: 15.97 kB / 389 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.01751, allocations: 12.5 kB / 389 MB, free: 7.578 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01752, allocations: 4 kB / 389 MB, free: 7.574 MB / 362.7 MB Notification: Performance of Templates: time 0.005189/0.0227, allocations: 1.368 MB / 390.4 MB, free: 6.223 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.5251578390598297]