Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001139/0.001139, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001991/0.003129, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001228/0.001228, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002841, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.026/1.026, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09208/1.118, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2818/0.2818, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02813/0.31, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 180] 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 292.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.285e-05, allocations: 3.75 kB / 292.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002476/0.002498, allocations: 2.014 MB / 294.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003816, allocations: 1.056 MB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.003922, allocations: 3.938 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.00414, allocations: 47.58 kB / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.004391, allocations: 107.3 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.004624, allocations: 99.53 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.004829, allocations: 147.5 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.004929, allocations: 22.45 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.005075, allocations: 107.6 kB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.005166, allocations: 43.81 kB / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.005185, allocations: 4 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.005274, allocations: 47.92 kB / 296.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.005325, allocations: 27.88 kB / 296.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.005365, allocations: 19.94 kB / 296.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.005556, allocations: 127.5 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.005567, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005568, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.005577, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000515/0.006092, allocations: 414.5 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.006127, allocations: 8.031 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.006172, allocations: 12.92 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.006369, allocations: 166.3 kB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.006386, allocations: 8.375 kB / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.006412, allocations: 8.375 kB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.006593, allocations: 130 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.006604, allocations: 3.938 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.006615, allocations: 4 kB / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.006622, allocations: 4 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.006662, allocations: 26.73 kB / 297.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.007034, allocations: 374 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.007214, allocations: 109.2 kB / 298 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.007241, allocations: 24.84 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.007253, allocations: 0 / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.007379, allocations: 95.84 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.007381, allocations: 0 / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000157/0.007538, allocations: 73.66 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.007567, allocations: 59.34 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.007679, allocations: 185.6 kB / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.007696, allocations: 25.7 kB / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.007749, allocations: 116 kB / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.007777, allocations: 31.73 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.007813, allocations: 29.69 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.007913, allocations: 334.7 kB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.007938, allocations: 10.83 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.007975, allocations: 53.52 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.532e-05/0.00804, allocations: 65.86 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.008042, allocations: 4 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001024/0.008145, allocations: 92.36 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008158, allocations: 7.938 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.008164, allocations: 0 / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.008179, allocations: 4 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.008261, allocations: 27.92 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008266, allocations: 0 / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.008306, allocations: 15.95 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.008314, allocations: 8.125 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.723e-05/0.008401, allocations: 128.5 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.008417, allocations: 11.98 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.00854, allocations: 75.59 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.008544, allocations: 4 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.008545, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.00855, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.00865, allocations: 97.78 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.008655, allocations: 7.875 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.008727, allocations: 15.98 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.008744, allocations: 19.91 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.008748, allocations: 4 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.008757, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008759, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.008761, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.008907, allocations: 122.6 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.008921, allocations: 0 / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.008952, allocations: 8 kB / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.008983, allocations: 7.984 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.008995, allocations: 4 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.009047, allocations: 57.44 kB / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009047, allocations: 4 kB / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.009192, allocations: 35.88 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001175/0.01037, allocations: 0.5487 MB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.01049, allocations: 48.78 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.0105, allocations: 128 / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.01055, allocations: 41.09 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.0108, allocations: 248.5 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.01138, allocations: 261.8 kB / 301 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.384e-05/0.01143, allocations: 71.83 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.01148, allocations: 17.48 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.01157, allocations: 75.36 kB / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01157, allocations: 4 kB / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.004204/0.01578, allocations: 2.236 MB / 303.4 MB, free: 11.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.900456067174673]