Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0008036/0.0008036, allocations: 91.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.0009086/0.0009086, allocations: 156.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 0.9456/0.9456, allocations: 177 MB / 204.8 MB, free: 5.594 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.3046/0.3046, allocations: 34.85 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.212e-05, allocations: 2.312 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002386/0.002408, allocations: 1.705 MB / 380.5 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006553/0.003063, allocations: 0.8063 MB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.003103, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.00337, allocations: 23.8 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.003594, allocations: 51.75 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.003598, allocations: 0 / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.003752, allocations: 35.78 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.003788, allocations: 7.984 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.003825, allocations: 11.98 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.003877, allocations: 15.92 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.003888, allocations: 0 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.653e-05/0.003934, allocations: 8 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.00398, allocations: 19.92 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.004002, allocations: 7.984 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.004127, allocations: 55.72 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004128, allocations: 0 / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004129, allocations: 0 / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.004134, allocations: 4 kB / 381.5 MB, free: 15.32 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003277/0.004462, allocations: 396.3 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.004501, allocations: 12.03 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.004542, allocations: 12.83 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.004661, allocations: 112.6 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.004673, allocations: 384 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.004689, allocations: 4.359 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.004839, allocations: 124.3 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004849, allocations: 192 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004858, allocations: 384 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.004904, allocations: 24.36 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.004943, allocations: 35.78 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.005528, allocations: 1.2 MB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.572e-05/0.005623, allocations: 265.4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.005662, allocations: 126.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.005692, allocations: 119.2 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.005739, allocations: 164.6 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.00574, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.161e-05/0.005802, allocations: 41.53 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.005859, allocations: 174.6 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.006023, allocations: 251.8 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.006031, allocations: 25.7 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.006115, allocations: 202.2 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-06/0.006119, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.006163, allocations: 51.31 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.00629, allocations: 0.4962 MB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.00631, allocations: 8 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.006413, allocations: 197.7 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.006564, allocations: 233.5 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.006569, allocations: 3.984 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001971/0.006766, allocations: 165.2 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.006782, allocations: 8 kB / 385.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.00679, allocations: 4 kB / 385.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.006814, allocations: 12.56 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.006911, allocations: 35.92 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.006921, allocations: 11.94 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.006973, allocations: 23.78 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.006987, allocations: 16 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001102/0.007097, allocations: 287.7 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.007171, allocations: 152.8 kB / 386.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.007232, allocations: 156.7 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-05/0.007312, allocations: 276 kB / 386.9 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.046e-05/0.007383, allocations: 268.2 kB / 387.1 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.636e-05/0.007459, allocations: 272 kB / 387.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.007666, allocations: 0.5077 MB / 387.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-05/0.007707, allocations: 152.9 kB / 388.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.007749, allocations: 156.8 kB / 388.2 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.001e-05/0.007819, allocations: 264.1 kB / 388.5 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.007889, allocations: 268 kB / 388.7 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-05/0.007951, allocations: 268.1 kB / 389 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.507e-05/0.008016, allocations: 272 kB / 389.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.008159, allocations: 456 kB / 389.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.008205, allocations: 156.8 kB / 389.8 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.008279, allocations: 264.1 kB / 390.1 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.008345, allocations: 160.8 kB / 390.3 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.008415, allocations: 272 kB / 390.5 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.008449, allocations: 144.9 kB / 390.7 MB, free: 5.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.253e-05/0.008522, allocations: 164 kB / 390.8 MB, free: 5.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008522, allocations: 3.938 kB / 390.8 MB, free: 5.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.008711, allocations: 12 kB / 390.8 MB, free: 5.359 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 (0): * Single equations (assignments): 0 * 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.0004473/0.009159, allocations: 321.5 kB / 391.2 MB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.009274, allocations: 68.61 kB / 391.2 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009275, allocations: 4.125 kB / 391.2 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.009276, allocations: 0 / 391.2 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.009603, allocations: 0.7101 MB / 391.9 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.009918, allocations: 277.3 kB / 392.2 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.897e-05/0.009967, allocations: 71.83 kB / 392.3 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.836e-05/0.01006, allocations: 45.08 kB / 392.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.01008, allocations: 16.5 kB / 392.3 MB, free: 3.836 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01008, allocations: 0 / 392.3 MB, free: 3.836 MB / 362.7 MB Notification: Performance of Templates: time 0.002361/0.01245, allocations: 0.7286 MB / 393.1 MB, free: 3.117 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.301193071063608]