Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001169/0.001169, 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.001185/0.001185, 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.077/1.077, allocations: 177 MB / 204.8 MB, free: 5.574 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.3288/0.3288, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.049e-05, allocations: 6.312 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002805/0.002836, allocations: 1.724 MB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.003632, allocations: 0.5524 MB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.003695, allocations: 3.938 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.003952, allocations: 59.78 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.004274, allocations: 111.5 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.004568, allocations: 135.5 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.004723, allocations: 83.77 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.004834, allocations: 20.2 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.00491, allocations: 43.89 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.85e-05/0.005009, allocations: 51.88 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.005025, allocations: 4 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.005124, allocations: 51.86 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.005195, allocations: 31.91 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.005222, allocations: 15.92 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.005395, allocations: 99.59 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005398, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005399, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005403, allocations: 0 / 381.8 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.0004984/0.005902, allocations: 451.8 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.00594, allocations: 16.03 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.005991, allocations: 24.84 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.006126, allocations: 145.1 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.006134, allocations: 384 / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.006158, allocations: 4.375 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.006287, allocations: 70.88 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.006298, allocations: 8.141 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.006308, allocations: 384 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006314, allocations: 384 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.006353, allocations: 15.92 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.006668, allocations: 307.7 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.006843, allocations: 51.08 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.006877, allocations: 19.81 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.006899, allocations: 0 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.006922, allocations: 49.25 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.006923, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006218/0.007545, allocations: 241.1 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.007575, allocations: 55.41 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.007717, allocations: 242.4 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.007727, allocations: 25.7 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.007788, allocations: 150.9 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.007821, allocations: 43.64 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.007866, allocations: 27.38 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.007986, allocations: 0.504 MB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.008017, allocations: 11.98 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.008043, allocations: 15.98 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.634e-05/0.008109, allocations: 51.62 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.008111, allocations: 0.5625 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001207/0.008232, allocations: 97.84 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.008246, allocations: 7.984 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008251, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.008272, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.008345, allocations: 23.98 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.008351, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.008377, allocations: 7.953 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.008385, allocations: 4 kB / 384.4 MB, free: 12.23 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 7.931e-05/0.008464, allocations: 168.5 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.008491, allocations: 19.94 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.008665, allocations: 115 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.008668, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.008672, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008675, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.009063, allocations: 424.5 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.009066, allocations: 4 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.009127, allocations: 19.98 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.009132, allocations: 8.062 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.00914, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009142, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.009145, allocations: 7.938 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.009326, allocations: 263.1 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.009338, allocations: 11.95 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.009354, allocations: 0 / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.0094, allocations: 7.984 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.00945, allocations: 19.92 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.009455, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.187e-05/0.009547, allocations: 171.2 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009547, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.009743, allocations: 24 kB / 385.6 MB, free: 10.9 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.001119/0.01086, allocations: 438.3 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.011, allocations: 63.53 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.011, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.01105, allocations: 39.61 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01129, allocations: 32.06 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.01175, allocations: 258.7 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.999e-05/0.0118, allocations: 75.33 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01184, allocations: 20.48 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.01188, allocations: 12.5 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01188, allocations: 0 / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003597/0.01548, allocations: 1.585 MB / 388.1 MB, free: 8.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.420605930965394]