Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.001297/0.001297, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001475/0.001475, allocations: 156.5 kB / 24.56 MB, free: 8 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 0.9914/0.9914, allocations: 177 MB / 204.8 MB, free: 5.57 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.2768/0.2768, allocations: 34.86 MB / 296.3 MB, free: 0.5234 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.609e-05, allocations: 6.812 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.006708/0.006744, allocations: 1.714 MB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.007764, allocations: 0.5524 MB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.007834, allocations: 0 / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.008127, allocations: 59.73 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.008541, allocations: 103.5 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.01198, allocations: 135.5 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.0122, allocations: 83.81 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.01232, allocations: 12.22 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.01241, allocations: 51.83 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.01253, allocations: 43.88 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.01255, allocations: 4 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.01268, allocations: 51.86 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.01277, allocations: 23.92 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.0128, allocations: 19.91 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.01303, allocations: 99.66 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01304, allocations: 0 / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01304, allocations: 0 / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01304, allocations: 0 / 381.7 MB, free: 15.08 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.0005249/0.01357, allocations: 443.9 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.01361, allocations: 12.03 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.01367, allocations: 16.83 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.01386, allocations: 142.6 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.01387, allocations: 4.375 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.0139, allocations: 12.31 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.01406, allocations: 74.88 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.01408, allocations: 4.188 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.01409, allocations: 384 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.0141, allocations: 4.375 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.044e-05/0.01415, allocations: 19.86 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.01453, allocations: 291.8 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.01474, allocations: 55.06 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/0.01781, allocations: 15.69 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.01784, allocations: 0 / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.01788, allocations: 45.45 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.01788, allocations: 4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009165/0.01879, allocations: 237.1 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.01884, allocations: 55.41 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.01901, allocations: 225.8 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.01902, allocations: 25.7 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.0191, allocations: 158.8 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.01914, allocations: 43.62 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.01919, allocations: 27.38 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.01933, allocations: 0.5 MB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.01937, allocations: 11.98 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.01941, allocations: 19.98 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.01949, allocations: 43.95 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01949, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001534/0.01964, allocations: 105.5 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01966, allocations: 4 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01967, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003035/0.0227, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.02282, allocations: 28.55 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.02282, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.02287, allocations: 8 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.02288, allocations: 7.984 kB / 384.3 MB, free: 12.27 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.804e-05/0.02297, allocations: 160.5 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.02301, allocations: 15.91 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.02323, allocations: 114.4 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.02324, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.02324, allocations: 3.938 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02325, allocations: 4 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.02371, allocations: 416.6 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02371, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.0238, allocations: 23.98 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.0238, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.02382, allocations: 4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02382, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02382, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.02402, allocations: 263.1 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.02404, allocations: 15.97 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.02406, allocations: 8 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.02412, allocations: 7.984 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.02417, allocations: 15.92 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.02418, allocations: 7.938 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.02427, allocations: 159.2 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02427, allocations: 0 / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.02453, allocations: 27.94 kB / 385.6 MB, free: 10.95 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.0012/0.02573, allocations: 428.6 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.0259, allocations: 63.59 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02591, allocations: 0 / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.02596, allocations: 39.61 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.02629, allocations: 26.17 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.02986, allocations: 258.2 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.513e-05/0.02992, allocations: 71.33 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.02998, allocations: 12.62 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.03002, allocations: 20.48 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.03002, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.007284/0.03731, allocations: 1.698 MB / 388.2 MB, free: 8.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.150562093127519]