Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001084/0.001084, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001091/0.001091, allocations: 161.9 kB / 25.61 MB, free: 8.57 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.9872/0.9872, allocations: 177 MB / 205.9 MB, free: 4.426 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.1613/0.1613, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.029e-05, allocations: 3.953 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002171/0.002191, allocations: 1.647 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007957/0.002987, allocations: 0.5408 MB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.00306, allocations: 7.938 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.003363, allocations: 71.7 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.00363, allocations: 107.5 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.003867, allocations: 107.7 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.004056, allocations: 91.69 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.004192, allocations: 11.98 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.53e-05/0.004277, allocations: 51.89 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.004403, allocations: 51.88 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.004423, allocations: 4 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.004501, allocations: 39.92 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.004565, allocations: 27.91 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.004593, allocations: 19.92 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.004757, allocations: 87.61 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004759, allocations: 0 / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00476, allocations: 7.938 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.004766, allocations: 4 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004599/0.005226, allocations: 443.9 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.005271, allocations: 8.031 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.005314, allocations: 16.84 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.005479, allocations: 142.5 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.005492, allocations: 384 / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.005513, allocations: 8.312 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.00562, allocations: 62.92 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.005632, allocations: 192 / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.005641, allocations: 384 / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005648, allocations: 4.375 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.005674, allocations: 15.92 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.005911, allocations: 268.4 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.005965, allocations: 46.98 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.005982, allocations: 7.688 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.006001, allocations: 4 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.006017, allocations: 33.39 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006018, allocations: 0 / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004093/0.006428, allocations: 161.4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.006447, allocations: 55.34 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.006525, allocations: 238.8 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.006531, allocations: 25.7 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.006567, allocations: 162.8 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.006587, allocations: 27.73 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.006612, allocations: 27.36 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.006662, allocations: 0.504 MB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.006673, allocations: 4 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.006685, allocations: 7.984 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.006716, allocations: 31.67 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.006717, allocations: 4 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.328e-05/0.00678, allocations: 73.52 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.00679, allocations: 9.562 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006794, allocations: 0 / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.006802, allocations: 0 / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.006854, allocations: 15.98 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.006857, allocations: 0 / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.006874, allocations: 8 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.006879, allocations: 0 / 385.3 MB, free: 17.23 MB / 314.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 (8): * Single equations (assignments): 8 * 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 4.364e-05/0.006923, allocations: 160.6 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.006944, allocations: 23.84 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.425e-05/0.007038, allocations: 87.8 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00704, allocations: 4 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.007042, allocations: 4 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007045, allocations: 0 / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.007233, allocations: 345.6 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007235, allocations: 4 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.007265, allocations: 15.98 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007267, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007272, allocations: 8.031 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.007275, allocations: 4 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007276, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.988e-05/0.007356, allocations: 239.4 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.007363, allocations: 11.89 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.007374, allocations: 4 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.007404, allocations: 4 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.007428, allocations: 11.92 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.007432, allocations: 4 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.007468, allocations: 159.1 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007468, allocations: 4 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.007617, allocations: 23.94 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009072/0.008524, allocations: 417.7 kB / 386.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.008625, allocations: 51.58 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008626, allocations: 0 / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.008652, allocations: 23.62 kB / 386.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.008867, allocations: 24.22 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.009156, allocations: 239.8 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.58e-05/0.009182, allocations: 71.19 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.975e-05/0.009212, allocations: 16.72 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.009263, allocations: 82.19 kB / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009263, allocations: 0 / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of Templates: time 0.003642/0.01291, allocations: 1.558 MB / 388.8 MB, free: 13.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.434432154055685]