Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001348/0.001348, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.001473/0.001473, allocations: 164.6 kB / 24.5 MB, free: 3.453 MB / 14.72 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.5/1.5, allocations: 177.1 MB / 204.7 MB, free: 8.895 MB / 190.1 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.2201/0.2201, allocations: 34.26 MB / 295.4 MB, free: 14.51 MB / 286.1 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.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 79.88 kB / 443.2 MB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.335, allocations: 66.05 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002632/0.3377, allocations: 1.725 MB / 0.499 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.339, allocations: 0.9716 MB / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.3391, allocations: 0 / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.3394, allocations: 46.73 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.3397, allocations: 101.2 kB / 0.5001 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3399, allocations: 76.58 kB / 0.5002 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3401, allocations: 103.3 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.3402, allocations: 7.688 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.3402, allocations: 49.19 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.3403, allocations: 32.38 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3403, allocations: 3.188 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.3404, allocations: 40.62 kB / 0.5004 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.3405, allocations: 21.69 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.3405, allocations: 29.11 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.3407, allocations: 129.3 kB / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3407, allocations: 0 / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3407, allocations: 3.938 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3407, allocations: 3.312 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004615/0.3412, allocations: 346.3 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3412, allocations: 10.84 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.3413, allocations: 8.297 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.3415, allocations: 150.2 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3415, allocations: 384 / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.3416, allocations: 3.844 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3417, allocations: 69.02 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3417, allocations: 0 / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3417, allocations: 4 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3417, allocations: 7.266 kB / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.3418, allocations: 17.11 kB / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.3421, allocations: 229.1 kB / 0.5014 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.3423, allocations: 63.34 kB / 0.5014 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.3423, allocations: 18.58 kB / 0.5015 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3424, allocations: 7.312 kB / 0.5015 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.3425, allocations: 63.12 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3425, allocations: 0 / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005525/0.343, allocations: 190.6 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.3431, allocations: 54.5 kB / 0.5018 GB, free: 26.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3432, allocations: 204.2 kB / 0.502 GB, free: 26.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.3432, allocations: 25.7 kB / 0.502 GB, free: 26.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3433, allocations: 110 kB / 0.5021 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3433, allocations: 30.42 kB / 0.5021 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.3433, allocations: 27.94 kB / 0.5021 GB, free: 26.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.3434, allocations: 336.5 kB / 0.5025 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.3435, allocations: 16.72 kB / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.3435, allocations: 41.14 kB / 0.5025 GB, free: 26.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3436, allocations: 58.16 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3436, allocations: 0 / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.3438, allocations: 108 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3438, allocations: 6.562 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3438, allocations: 0 / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3438, allocations: 10.41 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.3439, allocations: 12.72 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3439, allocations: 0 / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.344, allocations: 6.312 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.344, allocations: 3.312 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.753e-05/0.3441, allocations: 132.8 kB / 0.5028 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.3441, allocations: 13.91 kB / 0.5029 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.3443, allocations: 122 kB / 0.503 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3443, allocations: 3.938 kB / 0.503 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3443, allocations: 0 / 0.503 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3443, allocations: 7.281 kB / 0.503 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.3447, allocations: 344.5 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3447, allocations: 2.781 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.3447, allocations: 13.86 kB / 0.5033 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3447, allocations: 3.25 kB / 0.5033 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3447, allocations: 0 / 0.5033 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3447, allocations: 3.188 kB / 0.5033 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3447, allocations: 0 / 0.5033 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3449, allocations: 220.6 kB / 0.5035 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.345, allocations: 13.55 kB / 0.5036 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.345, allocations: 4 kB / 0.5036 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.3451, allocations: 6.219 kB / 0.5036 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3451, allocations: 6.594 kB / 0.5036 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.3451, allocations: 8.844 kB / 0.5036 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.3452, allocations: 153.7 kB / 0.5037 GB, free: 25.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3452, allocations: 0 / 0.5037 GB, free: 25.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3455, allocations: 27.89 kB / 0.5038 GB, free: 25.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001749/0.3472, allocations: 482.4 kB / 0.5042 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3474, allocations: 62.09 kB / 0.5043 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3474, allocations: 0 / 0.5043 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.3475, allocations: 30.47 kB / 0.5043 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3478, allocations: 38.23 kB / 0.5043 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.3483, allocations: 234.6 kB / 0.5046 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.3483, allocations: 96.98 kB / 0.5047 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.371e-05/0.3484, allocations: 22.34 kB / 0.5047 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.3484, allocations: 18.25 kB / 0.5047 GB, free: 24.59 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3484, allocations: 0 / 0.5047 GB, free: 24.59 MB / 446.1 MB Notification: Performance of Templates: time 0.004692/0.3531, allocations: 1.841 MB / 0.5065 GB, free: 24.33 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.965560894925147]