Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0024/0.0024, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002793/0.002793, allocations: 169.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.669/1.669, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.342/0.342, allocations: 32.81 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.238e-05, allocations: 2.312 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003329/0.003362, allocations: 1.769 MB / 377.1 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.005272, allocations: 0.986 MB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.005336, allocations: 3.938 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.005653, allocations: 87.69 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.005993, allocations: 131.4 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.006198, allocations: 79.61 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.006407, allocations: 127.6 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.006487, allocations: 8 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.00662, allocations: 71.8 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.006752, allocations: 63.86 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.006776, allocations: 4 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.006906, allocations: 63.84 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.006969, allocations: 27.86 kB / 378.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.00702, allocations: 27.92 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.007266, allocations: 139.5 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.007269, allocations: 0 / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.007271, allocations: 0 / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.007275, allocations: 0 / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006521/0.007927, allocations: 475.3 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.00796, allocations: 8.031 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.747e-05/0.008018, allocations: 16.84 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.00827, allocations: 177 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.008283, allocations: 384 / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.008305, allocations: 12.38 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.008448, allocations: 50.23 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.008462, allocations: 7.938 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.008475, allocations: 7.984 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.008479, allocations: 0 / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.008566, allocations: 19.98 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.009022, allocations: 311.7 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.009276, allocations: 74.97 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.009336, allocations: 19.81 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.009349, allocations: 3.984 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.009531, allocations: 81.05 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.009532, allocations: 0 / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007987/0.01033, allocations: 253.6 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.01038, allocations: 55.39 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.01067, allocations: 279.1 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.01069, allocations: 25.7 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.01081, allocations: 166.9 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.01086, allocations: 39.69 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.01092, allocations: 35.38 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.01119, allocations: 0.5117 MB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.01126, allocations: 31.94 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.01135, allocations: 58.72 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01151, allocations: 83.31 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01151, allocations: 0 / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002458/0.01176, allocations: 133.5 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.01177, allocations: 6.031 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01177, allocations: 4 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01179, allocations: 0 / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.01187, allocations: 23.98 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01188, allocations: 8.031 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.01192, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.01193, allocations: 11.94 kB / 381.9 MB, free: 14.14 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 (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.0001433/0.01208, allocations: 172.4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.01212, allocations: 27.89 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.01244, allocations: 135.1 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01245, allocations: 0 / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.01245, allocations: 3.984 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01246, allocations: 4 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.0132, allocations: 480.5 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.0132, allocations: 0 / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.01326, allocations: 20 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01326, allocations: 0 / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.01328, allocations: 3.984 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01328, allocations: 7.938 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.01328, allocations: 3.938 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.01364, allocations: 295.1 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.01367, allocations: 19.89 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.0137, allocations: 4 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.01377, allocations: 8.062 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.01382, allocations: 15.92 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.01384, allocations: 4 kB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.01401, allocations: 195.1 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01401, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000281/0.01429, allocations: 31.92 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.003764/0.01805, allocations: 0.5491 MB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.01831, allocations: 83.59 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01831, allocations: 4.062 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01842, allocations: 51.61 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.01882, allocations: 35.95 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.01952, allocations: 289.2 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.01967, allocations: 101.8 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.944e-05/0.01973, allocations: 16.77 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.01978, allocations: 20.5 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01978, allocations: 0 / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Templates: time 0.006286/0.02607, allocations: 2.129 MB / 386.5 MB, free: 9.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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: 5.1465333859669045]