Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.00154/0.00154, allocations: 84.34 kB / 20.95 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.001739/0.001739, allocations: 169.3 kB / 24.26 MB, free: 148 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.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3384/0.3384, allocations: 32.8 MB / 293.9 MB, free: 1.223 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.102e-05, allocations: 6.25 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003124/0.003155, allocations: 1.738 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.005061, allocations: 0.9626 MB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.005153, allocations: 4 kB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.00546, allocations: 51.69 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.005839, allocations: 99.47 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.006086, allocations: 75.61 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.006291, allocations: 107.7 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.006374, allocations: 7.984 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.006503, allocations: 59.77 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.006584, allocations: 19.92 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.006603, allocations: 8 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.006713, allocations: 43.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.006772, allocations: 23.91 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.006826, allocations: 27.86 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.007061, allocations: 111.6 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.007063, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007064, allocations: 4 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007068, allocations: 3.938 kB / 378.7 MB, free: 1.539 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005862/0.007654, allocations: 341.6 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.007689, allocations: 12.03 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.007759, allocations: 20.83 kB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.008017, allocations: 166 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.008031, allocations: 384 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.008062, allocations: 8.375 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.00823, allocations: 50.23 kB / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.008245, allocations: 3.938 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.00826, allocations: 4 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.008267, allocations: 4 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.767e-05/0.008355, allocations: 19.92 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.008759, allocations: 232.6 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.008953, allocations: 54.67 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.009024, allocations: 24.78 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.009041, allocations: 7.938 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.009212, allocations: 67.39 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.009214, allocations: 0 / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006437/0.009857, allocations: 189.3 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.009907, allocations: 51.41 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.01019, allocations: 219 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.01021, allocations: 29.7 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.01031, allocations: 108 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.01035, allocations: 23.81 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.0104, allocations: 25.7 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.01058, allocations: 326.8 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.01066, allocations: 19.98 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.01074, allocations: 41.7 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.01113, allocations: 57.59 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01114, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002438/0.01138, allocations: 113.6 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.0114, allocations: 4 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.0114, allocations: 0 / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01142, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.01152, allocations: 16.36 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01153, allocations: 0 / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.01159, allocations: 12 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.01159, allocations: 0 / 380.9 MB, free: 15.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 (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.0001264/0.01172, allocations: 137.6 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.01176, allocations: 23.88 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.01203, allocations: 123.3 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.01204, allocations: 4 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01204, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01205, allocations: 3.984 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.01257, allocations: 350.8 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01258, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.01262, allocations: 15.92 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01263, allocations: 3.984 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01264, allocations: 8 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01265, allocations: 4.031 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01265, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.01297, allocations: 212.2 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.01299, allocations: 15.89 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.01302, allocations: 8 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.0131, allocations: 0 / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.01315, allocations: 7.984 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.01317, allocations: 4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.01334, allocations: 163.2 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01334, allocations: 0 / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.01362, allocations: 31.98 kB / 382 MB, free: 13.98 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.002304/0.01593, allocations: 485 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01616, allocations: 67.89 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01616, allocations: 4.062 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.01625, allocations: 31.92 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.01666, allocations: 31.91 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.01725, allocations: 249.4 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.01735, allocations: 92.8 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.01742, allocations: 21.34 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.01746, allocations: 20.48 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01746, allocations: 0 / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005663/0.02313, allocations: 1.876 MB / 384.8 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.823930897982791]