Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.0009794/0.0009794, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.001026/0.001026, allocations: 158.3 kB / 24.99 MB, free: 9.297 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.9902/0.9902, allocations: 177 MB / 205.2 MB, free: 5.625 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.2364/0.2364, allocations: 34.87 MB / 296.6 MB, free: 0.5664 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.1e-05, allocations: 7.094 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003284/0.003315, allocations: 1.722 MB / 380.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.004256, allocations: 0.5446 MB / 381 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.004318, allocations: 3.938 kB / 381 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.004581, allocations: 55.8 kB / 381.1 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.004918, allocations: 107.5 kB / 381.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.005226, allocations: 131.6 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.005401, allocations: 83.77 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.005509, allocations: 20.2 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.005598, allocations: 39.91 kB / 381.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005709, allocations: 51.88 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.005727, allocations: 4 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.005844, allocations: 55.84 kB / 381.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.607e-05/0.00592, allocations: 19.92 kB / 381.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.005954, allocations: 19.92 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.006158, allocations: 91.66 kB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.006161, allocations: 0 / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006162, allocations: 0 / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006167, allocations: 0 / 381.7 MB, free: 15.45 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004894/0.006656, allocations: 451.8 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.006696, allocations: 12.02 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.006756, allocations: 20.89 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006926, allocations: 140.3 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.006937, allocations: 384 / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.006961, allocations: 4.375 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.007115, allocations: 70.86 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.007128, allocations: 8.188 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.007138, allocations: 4.375 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.007146, allocations: 384 / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.007194, allocations: 15.92 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.007558, allocations: 295.7 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.007755, allocations: 59.08 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.007789, allocations: 15.67 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.00781, allocations: 4 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.007834, allocations: 37.33 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.007836, allocations: 0 / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007849/0.008621, allocations: 245.3 kB / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.008659, allocations: 55.41 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.008824, allocations: 220 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.00884, allocations: 33.7 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.008911, allocations: 150.8 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.008948, allocations: 31.7 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.008997, allocations: 35.36 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.009145, allocations: 0.4961 MB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.009189, allocations: 19.98 kB / 384.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.009222, allocations: 8 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.026e-05/0.009312, allocations: 51.67 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009313, allocations: 4 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001545/0.009468, allocations: 93.47 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.009484, allocations: 4 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.009488, allocations: 0 / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.009504, allocations: 4 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.009604, allocations: 24.55 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.00961, allocations: 0 / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.009648, allocations: 7.984 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.009658, allocations: 4 kB / 384.3 MB, free: 12.66 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 (11): * Single equations (assignments): 11 * 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.859e-05/0.009747, allocations: 176.4 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.009785, allocations: 11.95 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.009993, allocations: 110.8 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.009995, allocations: 0 / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.009998, allocations: 0 / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.01001, allocations: 3.984 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.01045, allocations: 416.6 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01045, allocations: 0 / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.01054, allocations: 23.98 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01054, allocations: 4.062 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01055, allocations: 4 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01055, allocations: 0 / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01056, allocations: 3.938 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.01076, allocations: 267.2 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.01078, allocations: 7.953 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.0108, allocations: 7.984 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.01087, allocations: 7.938 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.01091, allocations: 15.92 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.01092, allocations: 4 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.448e-05/0.01102, allocations: 168 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01102, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.01132, allocations: 23.94 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001265/0.01258, allocations: 436.3 kB / 386 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.01278, allocations: 55.55 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01279, allocations: 4 kB / 386 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.01283, allocations: 43.59 kB / 386.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.0131, allocations: 25.53 kB / 386.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.01358, allocations: 254.1 kB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.01362, allocations: 71.33 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.524e-05/0.01366, allocations: 12.48 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.0137, allocations: 20.5 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.0137, allocations: 3.938 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Templates: time 0.003344/0.01705, allocations: 1.575 MB / 388 MB, free: 8.934 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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.045652771834284]