Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001715/0.001715, allocations: 92.28 kB / 20.96 MB, free: 3.445 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.00174/0.00174, allocations: 156.9 kB / 24.26 MB, free: 148 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.529/1.529, allocations: 177 MB / 204.5 MB, free: 5.582 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.367/0.367, allocations: 34.25 MB / 295.2 MB, free: 0.6602 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.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.77e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003328/0.003365, allocations: 1.716 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.005317, allocations: 0.9775 MB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.005384, allocations: 0 / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.005693, allocations: 55.62 kB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.006054, allocations: 87.56 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.006277, allocations: 75.66 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.006484, allocations: 115.5 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.755e-05/0.006571, allocations: 4 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.006684, allocations: 51.89 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.00677, allocations: 31.84 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.00679, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.006893, allocations: 47.86 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.006952, allocations: 19.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.007004, allocations: 23.92 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.007219, allocations: 115.6 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.007222, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007222, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.007227, allocations: 0 / 380.6 MB, free: 15.47 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005811/0.007808, allocations: 341.6 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.007845, allocations: 12.03 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.007901, allocations: 8.891 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.00817, allocations: 157.5 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.008184, allocations: 4.375 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.008208, allocations: 4.375 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.008365, allocations: 58.23 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.008376, allocations: 192 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.008387, allocations: 384 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.008396, allocations: 3.938 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.008475, allocations: 19.98 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.009121, allocations: 232.5 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.009315, allocations: 58.67 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.00938, allocations: 20.84 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.009394, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.009565, allocations: 71.33 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.009566, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006112/0.01018, allocations: 181.3 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.01023, allocations: 55.34 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.01046, allocations: 195.2 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.01049, allocations: 25.7 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.01057, allocations: 104.1 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.01061, allocations: 19.86 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.01066, allocations: 29.7 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.01085, allocations: 322.8 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.01092, allocations: 23.98 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.011, allocations: 33.7 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01114, allocations: 65.64 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01114, allocations: 3.938 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.01136, allocations: 109.5 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01138, allocations: 8 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01138, allocations: 4.031 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.0114, allocations: 0 / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.01149, allocations: 24.3 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.0115, allocations: 160 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.01155, allocations: 3.953 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.01156, allocations: 8 kB / 382.8 MB, free: 13.11 MB / 362.7 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 0.000134/0.0117, allocations: 132 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.01173, allocations: 15.89 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.01203, allocations: 127.2 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01203, allocations: 0 / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01204, allocations: 4 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01204, allocations: 4 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.01255, allocations: 350.9 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01256, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.0126, allocations: 8 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.0126, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01261, allocations: 11.98 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01261, allocations: 0 / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01261, allocations: 0 / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.01293, allocations: 220.2 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.01295, allocations: 11.91 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.01297, allocations: 4 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.01305, allocations: 11.92 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.0131, allocations: 3.984 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.01311, allocations: 4 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.01325, allocations: 140 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01325, allocations: 4 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.01352, allocations: 23.98 kB / 383.8 MB, free: 11.99 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: 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.002212/0.01574, allocations: 480.7 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.01594, allocations: 71.78 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01594, allocations: 0 / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.01602, allocations: 31.92 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.01638, allocations: 30.3 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.01689, allocations: 229.5 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.017, allocations: 88.3 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.081e-05/0.01706, allocations: 25.27 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.0171, allocations: 20.5 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0171, allocations: 4 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005535/0.02264, allocations: 1.851 MB / 386.6 MB, free: 9.316 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.890830314019695]