Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.00167/0.00167, 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.002059/0.002059, allocations: 156.9 kB / 24.27 MB, free: 168 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.58/1.58, allocations: 177 MB / 204.4 MB, free: 5.621 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.3358/0.3358, allocations: 34.24 MB / 295.2 MB, free: 0.6328 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.406e-05/4.596e-05, allocations: 12.3 kB / 377.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003205/0.003251, allocations: 1.642 MB / 378.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004453, allocations: 0.5448 MB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.004524, allocations: 4 kB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.004854, allocations: 91.61 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.005209, allocations: 119.5 kB / 379.6 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.005548, allocations: 115.7 kB / 379.7 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.005752, allocations: 107.7 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.00587, allocations: 23.97 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.005975, allocations: 51.83 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.006097, allocations: 59.86 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.006123, allocations: 8 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.006231, allocations: 47.91 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.006299, allocations: 27.92 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.006366, allocations: 23.86 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.006618, allocations: 139.5 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006621, allocations: 0 / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006623, allocations: 0 / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006627, allocations: 0 / 380.2 MB, free: 15.85 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005741/0.007201, allocations: 357.5 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.007238, allocations: 12.03 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.007307, allocations: 24.84 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.007534, allocations: 157.5 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.007548, allocations: 8.375 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.007576, allocations: 4.375 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.007783, allocations: 78.22 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.007795, allocations: 192 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.007808, allocations: 8.375 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.007812, allocations: 384 / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.007949, allocations: 43.91 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.008444, allocations: 276.3 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.008597, allocations: 66.53 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.008671, allocations: 28.78 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.008696, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.00873, allocations: 38.56 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 7.12e-07/0.008731, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.00123/0.009961, allocations: 341.4 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.01001, allocations: 59.39 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.01031, allocations: 239.6 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.01033, allocations: 25.7 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.01043, allocations: 112.1 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.01048, allocations: 47.58 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.01054, allocations: 21.72 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.01074, allocations: 334.8 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.01085, allocations: 43.97 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01096, allocations: 55.41 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.0112, allocations: 112.8 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.0112, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003213/0.01152, allocations: 157.5 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01154, allocations: 4 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.01155, allocations: 0 / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01157, allocations: 0 / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01171, allocations: 31.92 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01171, allocations: 0 / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.01177, allocations: 7.984 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01178, allocations: 8 kB / 382.9 MB, free: 13.02 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 (13): * Single equations (assignments): 13 * 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.0001402/0.01192, allocations: 137.8 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.01197, allocations: 15.91 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.01239, allocations: 191 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.0124, allocations: 4 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.0124, allocations: 0 / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.01241, allocations: 3.984 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.01313, allocations: 434.9 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.01313, allocations: 4 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.01323, allocations: 23.98 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.01323, allocations: 3.984 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01325, allocations: 4 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.01325, allocations: 3.938 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01325, allocations: 0 / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.01364, allocations: 259.6 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.01366, allocations: 23.91 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.01368, allocations: 3.984 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.01377, allocations: 7.938 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.01382, allocations: 11.98 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01383, allocations: 4 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.01402, allocations: 185.1 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01402, allocations: 0 / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.0143, allocations: 27.94 kB / 384.2 MB, free: 11.63 MB / 362.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 (13): * Single equations (assignments): 13 * 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.002222/0.01652, allocations: 485.9 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.01684, allocations: 107.9 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01684, allocations: 0 / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.01698, allocations: 59.91 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.01738, allocations: 23.98 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.01807, allocations: 340 kB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.0182, allocations: 109.1 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.995e-05/0.01829, allocations: 32.53 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.01834, allocations: 24.48 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01834, allocations: 0 / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Templates: time 0.005088/0.02343, allocations: 1.612 MB / 387 MB, free: 9 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.973394720000215]