Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.002405/0.002405, allocations: 91.61 kB / 20.96 MB, free: 3.453 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.002732/0.002732, allocations: 161.3 kB / 24.27 MB, free: 144 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.621/1.621, 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.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.3704/0.3704, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.008e-05, allocations: 2.312 kB / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003393/0.003423, allocations: 1.693 MB / 377 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.005818, allocations: 0.9704 MB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.005893, allocations: 3.938 kB / 378 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.006265, allocations: 95.67 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.006646, allocations: 115.5 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.006847, allocations: 71.62 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.007065, allocations: 115.6 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.007109, allocations: 8.219 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.007259, allocations: 67.75 kB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.007384, allocations: 47.89 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.007408, allocations: 8 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.007506, allocations: 35.91 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.007586, allocations: 23.92 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.007634, allocations: 15.94 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.00788, allocations: 111.6 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.007883, allocations: 0 / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007884, allocations: 0 / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.007889, allocations: 0 / 378.7 MB, free: 1.527 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007142/0.008603, allocations: 455.5 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.008642, allocations: 12.03 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.008696, allocations: 8.891 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.008949, allocations: 160.4 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.008962, allocations: 384 / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.008972, allocations: 384 / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.009104, allocations: 50.23 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.009114, allocations: 3.938 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.009126, allocations: 4 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.009131, allocations: 0 / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.557e-05/0.009196, allocations: 15.92 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.009421, allocations: 152.7 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.0096, allocations: 59.09 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.009654, allocations: 23.67 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.009669, allocations: 0 / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.009824, allocations: 76.98 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.009825, allocations: 0 / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002927/0.01012, allocations: 97.52 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.01017, allocations: 51.41 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.01047, allocations: 266.6 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.01049, allocations: 29.7 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01061, allocations: 162.9 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.01064, allocations: 23.84 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.01069, allocations: 27.36 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002826/0.01098, allocations: 0.5001 MB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.01102, allocations: 12 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.01109, allocations: 35.3 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.01119, allocations: 51.61 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.0112, allocations: 4 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001743/0.01137, allocations: 81.53 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01138, allocations: 4 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.01139, allocations: 3.938 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.0114, allocations: 4.031 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.01148, allocations: 16 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01149, allocations: 0 / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.01153, allocations: 3.984 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.01154, allocations: 4 kB / 381.1 MB, free: 14.94 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 (7): * Single equations (assignments): 7 * 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.0001367/0.01168, allocations: 163.8 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.01171, allocations: 15.91 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.01193, allocations: 94.7 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.01194, allocations: 7.984 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01195, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01195, allocations: 4 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.01214, allocations: 156.6 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01214, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.01217, allocations: 4 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01217, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01218, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01219, allocations: 3.938 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.01219, allocations: 3.984 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.01243, allocations: 124.3 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.01245, allocations: 11.94 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01248, allocations: 4.188 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.01252, allocations: 15.94 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.01255, allocations: 0 / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.01257, allocations: 11.92 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.01276, allocations: 189.1 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01276, allocations: 0 / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01298, allocations: 27.92 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002925/0.01591, allocations: 416.5 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.01609, allocations: 51.61 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01609, allocations: 4.062 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.01617, allocations: 27.8 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.01647, allocations: 43.55 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.01695, allocations: 224.8 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.01705, allocations: 88.3 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.01709, allocations: 8.5 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.01713, allocations: 28.42 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01714, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Templates: time 0.005633/0.02277, allocations: 1.641 MB / 384.4 MB, free: 11.67 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.198451603995636]