Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001438/0.001438, allocations: 75.69 kB / 21.7 MB, free: 2.848 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.001527/0.001527, allocations: 167.8 kB / 24.99 MB, free: 9.32 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.9048/0.9048, allocations: 177 MB / 205.2 MB, free: 5.586 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.2669/0.2669, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.244e-05, allocations: 4.984 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002349/0.002371, allocations: 1.649 MB / 380.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.003136, allocations: 0.533 MB / 381 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.003192, allocations: 0 / 381 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.003642, allocations: 459 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.003983, allocations: 291.2 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.004184, allocations: 131.6 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004358, allocations: 167.6 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.004453, allocations: 11.86 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004557, allocations: 119.8 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.004738, allocations: 243.5 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.004753, allocations: 4 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-05/0.004807, allocations: 27.94 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.734e-05/0.004895, allocations: 83.72 kB / 382.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.004931, allocations: 39.72 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.005135, allocations: 183.2 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005138, allocations: 0 / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005138, allocations: 0 / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.005144, allocations: 0 / 382.7 MB, free: 14.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009007/0.006044, allocations: 0.6892 MB / 383.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.00608, allocations: 15.97 kB / 383.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.006135, allocations: 48.66 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.006318, allocations: 240.8 kB / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.006333, allocations: 16.38 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.006342, allocations: 384 / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.006457, allocations: 62.94 kB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006465, allocations: 192 / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.006474, allocations: 384 / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.006482, allocations: 384 / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.95e-05/0.006511, allocations: 11.88 kB / 383.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.006892, allocations: 415.8 kB / 384.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.806e-05/0.00696, allocations: 31.06 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.006984, allocations: 11.69 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.007004, allocations: 4 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.007032, allocations: 41.33 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.007034, allocations: 4 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001982/0.007232, allocations: 89.42 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.007266, allocations: 55.41 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.007788, allocations: 0.6277 MB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.007801, allocations: 25.7 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.007977, allocations: 286.8 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.008003, allocations: 7.938 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.008071, allocations: 19.38 kB / 385.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.008247, allocations: 0.5548 MB / 385.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.008264, allocations: 4 kB / 385.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.368e-05/0.008278, allocations: 3.984 kB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.008311, allocations: 19.62 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008313, allocations: 0 / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.683e-05/0.00841, allocations: 85.69 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.008423, allocations: 7.938 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.008429, allocations: 4 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.008441, allocations: 48 / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.008512, allocations: 11.97 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.008516, allocations: 0 / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/0.008554, allocations: 11.94 kB / 386.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.00856, allocations: 0 / 386.1 MB, free: 10.86 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 (3): * Single equations (assignments): 3 * 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.303e-05/0.008643, allocations: 168.5 kB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.008688, allocations: 43.67 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.00882, allocations: 85.05 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008822, allocations: 0 / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.008825, allocations: 0 / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.008829, allocations: 3.984 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.009089, allocations: 284.5 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00909, allocations: 0 / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.009118, allocations: 8 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.00912, allocations: 0 / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.009126, allocations: 4 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.009129, allocations: 7.938 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00913, allocations: 0 / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.009269, allocations: 239.6 kB / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.009299, allocations: 35.72 kB / 386.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.009318, allocations: 0 / 386.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.00938, allocations: 7.938 kB / 386.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.009394, allocations: 0 / 386.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.009396, allocations: 4 kB / 386.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003213/0.009718, allocations: 430.8 kB / 387.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009718, allocations: 4 kB / 387.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.009955, allocations: 12 kB / 387.4 MB, free: 9.473 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 (3): * Single equations (assignments): 3 * 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.0007744/0.01073, allocations: 318.8 kB / 387.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.01082, allocations: 27.61 kB / 387.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01082, allocations: 0 / 387.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.01084, allocations: 15.69 kB / 387.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.01115, allocations: 28.83 kB / 387.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.01185, allocations: 0.5666 MB / 388.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.87e-05/0.01194, allocations: 115.3 kB / 388.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.154e-05/0.01197, allocations: 11.98 kB / 388.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.012, allocations: 12.5 kB / 388.4 MB, free: 8.414 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.012, allocations: 3.938 kB / 388.4 MB, free: 8.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003942/0.01594, allocations: 1.19 MB / 389.6 MB, free: 7.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.049889018991962]