Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001615/0.001615, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001624/0.001624, allocations: 156.9 kB / 24.27 MB, free: 172 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.616/1.616, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3554/0.3554, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.313e-05, allocations: 6.25 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00323/0.003264, allocations: 1.598 MB / 378.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004467, allocations: 0.537 MB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.004518, allocations: 0 / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.004747, allocations: 27.83 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.005044, allocations: 83.56 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.005375, allocations: 103.7 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.005542, allocations: 71.75 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.005633, allocations: 12 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.005709, allocations: 31.91 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.005766, allocations: 15.94 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.005786, allocations: 4 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.005872, allocations: 35.91 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.005924, allocations: 15.92 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.005961, allocations: 11.94 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.006155, allocations: 91.64 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006157, allocations: 0 / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.006158, allocations: 0 / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.006163, allocations: 0 / 379.9 MB, free: 256 kB / 346.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.0005846/0.006748, allocations: 321.8 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.006789, allocations: 8.031 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.006846, allocations: 12.89 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.007059, allocations: 134.2 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.00707, allocations: 4.375 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.007092, allocations: 384 / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.007261, allocations: 54.23 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.007273, allocations: 192 / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.007289, allocations: 12.06 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.007293, allocations: 0 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.692e-05/0.00739, allocations: 27.98 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.008049, allocations: 232.5 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.008286, allocations: 38.56 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.008342, allocations: 20.88 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.008368, allocations: 7.938 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.008401, allocations: 34.56 kB / 380.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.008402, allocations: 0 / 380.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006442/0.009046, allocations: 161.3 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.009108, allocations: 51.41 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.009342, allocations: 182.2 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.009369, allocations: 25.7 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.009449, allocations: 100.1 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.009477, allocations: 15.89 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.009516, allocations: 17.72 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.009707, allocations: 322.8 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.009789, allocations: 23.98 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.009858, allocations: 19.98 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.01002, allocations: 52.83 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.01002, allocations: 0 / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002219/0.01024, allocations: 93.77 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01025, allocations: 8 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01026, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.01028, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.01035, allocations: 15.98 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01035, allocations: 7.938 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.0104, allocations: 3.938 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.01041, allocations: 8.234 kB / 381.8 MB, free: 14.09 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 (5): * Single equations (assignments): 5 * 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.0001138/0.01052, allocations: 121.8 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.01056, allocations: 15.84 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.01086, allocations: 110 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01086, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01087, allocations: 4 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01087, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.01137, allocations: 298.2 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01137, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.01143, allocations: 11.94 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01143, allocations: 4 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01144, allocations: 7.984 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01145, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01145, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.01173, allocations: 187.4 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.01174, allocations: 7.953 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.01176, allocations: 0 / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.01183, allocations: 4 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.01188, allocations: 7.984 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.01189, allocations: 4 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.01202, allocations: 131.2 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01202, allocations: 0 / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.01227, allocations: 12 kB / 382.7 MB, free: 13.12 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 (5): * Single equations (assignments): 5 * 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.001952/0.01422, allocations: 428.6 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01444, allocations: 55.95 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01444, allocations: 0 / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.01453, allocations: 23.98 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.0149, allocations: 19.92 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.01544, allocations: 228.5 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.01554, allocations: 83.31 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.382e-05/0.0156, allocations: 15.97 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.01564, allocations: 12.5 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01564, allocations: 0 / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of Templates: time 0.004316/0.01995, allocations: 1.187 MB / 384.8 MB, free: 11.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.967266342951916]