Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001914/0.001914, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002/0.002, allocations: 165.3 kB / 24.27 MB, free: 152 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.671/1.671, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3814/0.3814, allocations: 34.27 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.084e-05, allocations: 5.125 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004156/0.004186, allocations: 1.735 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.006322, allocations: 1.001 MB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.006418, allocations: 0 / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.006768, allocations: 51.7 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.007228, allocations: 103.5 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.007522, allocations: 79.61 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.007782, allocations: 111.6 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.007897, allocations: 11.98 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.008036, allocations: 55.83 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.00813, allocations: 23.91 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.008156, allocations: 8 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.008289, allocations: 47.86 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.008361, allocations: 23.92 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.008424, allocations: 27.86 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.008752, allocations: 131.5 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.008755, allocations: 0 / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.008756, allocations: 0 / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.008763, allocations: 0 / 380.8 MB, free: 15.46 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.0007561/0.009519, allocations: 491.2 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.009561, allocations: 8.031 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/0.00964, allocations: 20.83 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.009956, allocations: 161.3 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.009977, allocations: 4.375 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.01, allocations: 4.375 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.01016, allocations: 54.17 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01017, allocations: 3.938 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.01018, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.01019, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.01027, allocations: 23.98 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.01078, allocations: 311.8 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.01098, allocations: 67.09 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.47e-05/0.01104, allocations: 23.62 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.01106, allocations: 4 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.01123, allocations: 69.05 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.01123, allocations: 0 / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006699/0.0119, allocations: 193.2 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.01196, allocations: 51.41 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.01235, allocations: 297.6 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.01239, allocations: 29.7 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.01255, allocations: 170.9 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.01263, allocations: 31.77 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.01272, allocations: 27.38 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003724/0.01309, allocations: 0.5157 MB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.01317, allocations: 19.94 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/0.01327, allocations: 43.73 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.01341, allocations: 71.36 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01341, allocations: 3.938 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002516/0.01366, allocations: 113.5 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.01368, allocations: 7.984 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01369, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.0137, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.0138, allocations: 16 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01381, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.01386, allocations: 4 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.01387, allocations: 7.984 kB / 383.6 MB, free: 12.44 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.0001501/0.01402, allocations: 168.5 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.01406, allocations: 19.91 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.01435, allocations: 123.1 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01435, allocations: 0 / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.01435, allocations: 0 / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.01436, allocations: 4 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.01497, allocations: 432.9 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.01498, allocations: 4 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.01502, allocations: 11.98 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01503, allocations: 0 / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01504, allocations: 4 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01504, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01504, allocations: 4.031 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.0154, allocations: 275.4 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.01544, allocations: 11.91 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.01546, allocations: 3.984 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.01553, allocations: 8 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.01558, allocations: 7.984 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.01559, allocations: 4 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.0158, allocations: 208.5 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0158, allocations: 0 / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.01607, allocations: 27.94 kB / 384.9 MB, free: 11.06 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.003448/0.01952, allocations: 0.4975 MB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.01973, allocations: 63.61 kB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01974, allocations: 4 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.01983, allocations: 39.89 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.02022, allocations: 36.11 kB / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.02114, allocations: 278.4 kB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.02127, allocations: 108.9 kB / 385.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.557e-05/0.02134, allocations: 12.97 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.02139, allocations: 20.56 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02139, allocations: 0 / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.006114/0.0275, allocations: 1.883 MB / 387.8 MB, free: 8.309 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.966587895993143]