Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001177/0.001177, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001401/0.001401, allocations: 166.8 kB / 25.61 MB, free: 8.582 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 1.027/1.027, allocations: 177 MB / 205.9 MB, free: 4.465 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.1556/0.1556, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.979e-05, allocations: 5.922 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002607/0.002636, allocations: 1.698 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.003322, allocations: 0.5524 MB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.003381, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.003774, allocations: 467 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.004093, allocations: 291.2 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.004312, allocations: 131.6 kB / 383.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.004499, allocations: 179.6 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.004604, allocations: 16.16 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.004709, allocations: 131.7 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.004893, allocations: 239.6 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.00491, allocations: 4 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-05/0.004991, allocations: 55.92 kB / 383.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.005083, allocations: 87.69 kB / 383.9 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.005118, allocations: 39.75 kB / 383.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.005316, allocations: 215.1 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005319, allocations: 0 / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00532, allocations: 0 / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005324, allocations: 0 / 384.1 MB, free: 18.64 MB / 314.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.0004857/0.00581, allocations: 0.7125 MB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.005849, allocations: 8.031 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.005898, allocations: 44.66 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.006075, allocations: 252.8 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.006089, allocations: 8.375 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.00611, allocations: 4.375 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.006213, allocations: 66.94 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.006225, allocations: 192 / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.006235, allocations: 384 / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.006241, allocations: 384 / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.00627, allocations: 19.86 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.006558, allocations: 348.2 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.006711, allocations: 47.08 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.00673, allocations: 15.69 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.006747, allocations: 8.109 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.006762, allocations: 33.39 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.006763, allocations: 0 / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005397/0.007302, allocations: 261.3 kB / 385.9 MB, free: 16.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.007328, allocations: 59.33 kB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.007617, allocations: 0.6118 MB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.007627, allocations: 25.7 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.007738, allocations: 294.8 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.007766, allocations: 43.62 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.007799, allocations: 31.36 kB / 387 MB, free: 15.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.00791, allocations: 0.5547 MB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.00793, allocations: 11.98 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.007951, allocations: 8 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/0.008003, allocations: 46.73 kB / 387.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.008006, allocations: 11.88 kB / 387.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001047/0.00811, allocations: 117.3 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.008123, allocations: 8 kB / 387.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.008128, allocations: 0 / 387.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.00814, allocations: 3.984 kB / 387.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.008204, allocations: 23.98 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.008207, allocations: 0 / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.008238, allocations: 4 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.008247, allocations: 8 kB / 387.8 MB, free: 14.77 MB / 314.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 6.522e-05/0.008312, allocations: 156.5 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.008346, allocations: 51.72 kB / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.008495, allocations: 137.3 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008497, allocations: 0 / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008499, allocations: 0 / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008502, allocations: 0 / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.008794, allocations: 465.1 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008795, allocations: 0 / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.008847, allocations: 23.98 kB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00885, allocations: 0 / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.008857, allocations: 7.984 kB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.008859, allocations: 4.062 kB / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00886, allocations: 0 / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.008975, allocations: 294.8 kB / 388.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.008999, allocations: 43.69 kB / 388.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.009015, allocations: 0 / 388.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.009061, allocations: 4 kB / 388.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.009096, allocations: 15.97 kB / 388.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.009101, allocations: 4 kB / 388.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.009261, allocations: 398.6 kB / 389.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009261, allocations: 0 / 389.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.009439, allocations: 39.92 kB / 389.4 MB, free: 13.07 MB / 314.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.0009639/0.0104, allocations: 434.2 kB / 389.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.0105, allocations: 47.61 kB / 389.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.0105, allocations: 0 / 389.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.143e-05/0.01053, allocations: 39.81 kB / 389.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01078, allocations: 41.81 kB / 389.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.01135, allocations: 0.6285 MB / 390.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.808e-05/0.01141, allocations: 127.2 kB / 390.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.01145, allocations: 12.48 kB / 390.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.0115, allocations: 82.2 kB / 390.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0115, allocations: 0 / 390.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of Templates: time 0.004028/0.01553, allocations: 1.943 MB / 392.7 MB, free: 9.863 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.3180028232745826]