Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001662/0.001662, allocations: 85.31 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001988/0.001988, allocations: 165.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.512/1.512, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 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.2271/0.2271, allocations: 34.27 MB / 295 MB, free: 14.58 MB / 286.1 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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.551e-05, allocations: 9.094 kB / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003045/0.00307, allocations: 1.72 MB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.004927, allocations: 0.9743 MB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.005, allocations: 3.938 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.005288, allocations: 43.81 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.0056, allocations: 107.5 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.005805, allocations: 79.55 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005996, allocations: 111.6 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.061e-05/0.006077, allocations: 4 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.006193, allocations: 55.83 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.006277, allocations: 27.91 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.006298, allocations: 4 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.006396, allocations: 39.98 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.00646, allocations: 27.91 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.006511, allocations: 19.88 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.00674, allocations: 131.5 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006742, allocations: 4 kB / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006742, allocations: 0 / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006747, allocations: 0 / 446.1 MB, free: 1.949 MB / 366.1 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.0005808/0.007328, allocations: 353.5 kB / 446.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.007363, allocations: 12.03 kB / 446.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.007414, allocations: 16.83 kB / 446.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.007657, allocations: 154.3 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.007676, allocations: 8.375 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.007696, allocations: 4.312 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.007854, allocations: 66.17 kB / 446.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.007868, allocations: 3.938 kB / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.007876, allocations: 0 / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.00788, allocations: 0 / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.007968, allocations: 19.98 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.008331, allocations: 232.6 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.008522, allocations: 62.61 kB / 447 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.008588, allocations: 24.78 kB / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.008605, allocations: 4 kB / 447 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.008756, allocations: 67.39 kB / 447.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.008757, allocations: 0 / 447.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006148/0.009372, allocations: 193.3 kB / 447.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.009424, allocations: 51.41 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.009688, allocations: 243.6 kB / 447.6 MB, free: 328 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.009709, allocations: 25.7 kB / 447.6 MB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.009789, allocations: 112.1 kB / 447.7 MB, free: 180 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.009822, allocations: 23.8 kB / 447.7 MB, free: 156 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.00987, allocations: 25.7 kB / 447.8 MB, free: 124 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1981/0.2079, allocations: 326.8 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2081, allocations: 16.56 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.2082, allocations: 42.88 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2083, allocations: 62.23 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2083, allocations: 3.438 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002452/0.2085, allocations: 111.7 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2086, allocations: 9 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2086, allocations: 0 / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2086, allocations: 3.453 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2087, allocations: 23.19 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2087, allocations: 1.031 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.2088, allocations: 2.828 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2088, allocations: 11.52 kB / 448.4 MB, free: 18.99 MB / 366.1 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.0001139/0.2089, allocations: 132.1 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.2089, allocations: 13.2 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.2092, allocations: 123.8 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2092, allocations: 3.203 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2092, allocations: 3.938 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2092, allocations: 4.453 kB / 448.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.2096, allocations: 355.5 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2096, allocations: 4.516 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.2097, allocations: 9.047 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2097, allocations: 1.781 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2097, allocations: 6.703 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2097, allocations: 1.891 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2097, allocations: 0 / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.2099, allocations: 214.8 kB / 449.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.2099, allocations: 14.5 kB / 449.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.21, allocations: 6.953 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.21, allocations: 2.219 kB / 449.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.2101, allocations: 11.75 kB / 449.3 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.2101, allocations: 9.031 kB / 449.3 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.2102, allocations: 176.2 kB / 449.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2102, allocations: 0 / 449.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.2105, allocations: 28 kB / 449.5 MB, free: 18.38 MB / 366.1 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.001804/0.2123, allocations: 0.4884 MB / 450 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.2126, allocations: 60.02 kB / 450 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2126, allocations: 5.062 kB / 450 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.2127, allocations: 33.86 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.213, allocations: 25.73 kB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.2136, allocations: 267.1 kB / 450.3 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.982e-05/0.2137, allocations: 103 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.2137, allocations: 13.31 kB / 450.5 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.2138, allocations: 17.67 kB / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2138, allocations: 0 / 450.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Templates: time 0.005518/0.2193, allocations: 1.862 MB / 452.3 MB, free: 17.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.962602384388447]