Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.0009387/0.0009387, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00101/0.00101, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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 0.9171/0.9171, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] 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.1484/0.1484, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.563e-05, allocations: 2.312 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00308/0.003105, allocations: 1.757 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004484, allocations: 0.9897 MB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.004565, allocations: 4 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.004845, allocations: 35.77 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.005163, allocations: 107.4 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.005371, allocations: 83.59 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.005539, allocations: 107.7 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.005627, allocations: 7.938 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.005727, allocations: 55.83 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.0058, allocations: 23.91 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.005816, allocations: 4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.795e-05/0.005904, allocations: 47.91 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.005955, allocations: 19.92 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.005989, allocations: 19.94 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.006176, allocations: 107.5 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.006177, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006178, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.006182, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.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.0004084/0.00659, allocations: 447.9 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.006633, allocations: 11.98 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.006679, allocations: 16.84 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.006834, allocations: 149.1 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.00685, allocations: 384 / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.006867, allocations: 8.375 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.006973, allocations: 62.88 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006983, allocations: 3.938 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.006994, allocations: 11.97 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.007003, allocations: 0 / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.228e-05/0.007036, allocations: 12 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.007261, allocations: 264.3 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.007355, allocations: 59.09 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.007378, allocations: 11.69 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.007388, allocations: 4 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.289e-05/0.007481, allocations: 68.98 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.007483, allocations: 0 / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000364/0.007847, allocations: 141.5 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.007873, allocations: 55.41 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.007995, allocations: 221.8 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.008005, allocations: 25.7 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.008051, allocations: 158.8 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.008082, allocations: 27.78 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.008121, allocations: 27.36 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.008182, allocations: 0.4962 MB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.008205, allocations: 15.92 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.008238, allocations: 35.34 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.008291, allocations: 39.38 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008292, allocations: 0 / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001129/0.008405, allocations: 93.45 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.008417, allocations: 4 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.008422, allocations: 0 / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.008434, allocations: 3.984 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.00851, allocations: 20.03 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008513, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.008553, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.008561, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.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 6.02e-05/0.008621, allocations: 168.5 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.008644, allocations: 19.84 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.008799, allocations: 103.2 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008801, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.008803, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.008806, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.009084, allocations: 366 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.009086, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.009123, allocations: 15.98 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-06/0.009125, allocations: 0 / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.009133, allocations: 11.94 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009135, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009136, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.009273, allocations: 255.4 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.009287, allocations: 7.953 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.009312, allocations: 0 / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/0.00938, allocations: 12.02 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.009409, allocations: 4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.009425, allocations: 7.984 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.924e-05/0.009485, allocations: 167.1 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009485, allocations: 0 / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.009782, allocations: 23.94 kB / 384.3 MB, free: 18.22 MB / 314.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.001252/0.01103, allocations: 429.2 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.01115, allocations: 59.52 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01115, allocations: 4.062 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.01119, allocations: 27.67 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.01154, allocations: 41.02 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.01188, allocations: 223.8 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.01191, allocations: 67.2 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.01196, allocations: 20.95 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.01204, allocations: 86.25 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01204, allocations: 4 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of Templates: time 0.004383/0.01642, allocations: 2.057 MB / 387.3 MB, free: 15.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2616124278865755]