Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001578/0.001578, allocations: 84.92 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.001538/0.001538, allocations: 164.5 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.494/1.494, allocations: 177.1 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.2232/0.2232, allocations: 34.27 MB / 294.9 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 442.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.397e-05, allocations: 2.281 kB / 442.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00346/0.003494, allocations: 1.73 MB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.005395, allocations: 0.9704 MB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.005486, allocations: 3.938 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.005818, allocations: 39.81 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.006182, allocations: 91.55 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.006411, allocations: 87.48 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.006617, allocations: 111.6 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.006717, allocations: 4 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.006828, allocations: 55.83 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.006912, allocations: 31.91 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.006933, allocations: 4 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.967e-05/0.007033, allocations: 39.98 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.007099, allocations: 23.91 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.007149, allocations: 15.94 kB / 446 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.007387, allocations: 123.5 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.007392, allocations: 0 / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007393, allocations: 0 / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.007403, allocations: 4 kB / 446.1 MB, free: 1.98 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.0006078/0.00801, allocations: 341.6 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.00805, allocations: 12.03 kB / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.008104, allocations: 16.84 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.00838, allocations: 150.3 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.008391, allocations: 4.375 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.008418, allocations: 4.312 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.008598, allocations: 62.17 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.008615, allocations: 3.938 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.008627, allocations: 0 / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.008631, allocations: 0 / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.008718, allocations: 23.97 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.009118, allocations: 236.6 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.009314, allocations: 58.62 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.009378, allocations: 28.72 kB / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.009391, allocations: 0 / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.009562, allocations: 67.39 kB / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.009564, allocations: 0 / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006032/0.01017, allocations: 185.3 kB / 447.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.01021, allocations: 55.39 kB / 447.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.01043, allocations: 206.2 kB / 447.5 MB, free: 424 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.01045, allocations: 33.7 kB / 447.5 MB, free: 384 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.01052, allocations: 96.14 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.01057, allocations: 27.78 kB / 447.7 MB, free: 256 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.01062, allocations: 25.72 kB / 447.7 MB, free: 224 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1803/0.191, allocations: 322.8 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1911, allocations: 16.67 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.1912, allocations: 43.88 kB / 448.1 MB, free: 19.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1913, allocations: 61.58 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1913, allocations: 1.406 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002293/0.1915, allocations: 105 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1915, allocations: 6.328 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1915, allocations: 3.594 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1916, allocations: 1.281 kB / 448.2 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1917, allocations: 22.56 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1917, allocations: 1.031 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.1917, allocations: 3.188 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1917, allocations: 7.656 kB / 448.3 MB, free: 19.03 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 8.862e-05/0.1918, allocations: 123.4 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1919, allocations: 14.52 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.1921, allocations: 126.2 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1921, allocations: 3.25 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1921, allocations: 3.938 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1922, allocations: 1.891 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.1926, allocations: 342.8 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1926, allocations: 1.766 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.1926, allocations: 13.78 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1926, allocations: 1.562 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1926, allocations: 9.016 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1926, allocations: 5 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1926, allocations: 4.906 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1928, allocations: 212.3 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.1928, allocations: 13.05 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1929, allocations: 6.156 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.1929, allocations: 5.281 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.193, allocations: 7 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.193, allocations: 4.297 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1931, allocations: 153.2 kB / 449.3 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1931, allocations: 2.125 kB / 449.3 MB, free: 18.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1934, allocations: 27.17 kB / 449.3 MB, free: 18.41 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.001807/0.1952, allocations: 496.2 kB / 449.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1954, allocations: 64.66 kB / 449.9 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1954, allocations: 3.938 kB / 449.9 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.1955, allocations: 33 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1958, allocations: 36.14 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.1963, allocations: 235.2 kB / 450.2 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.33e-05/0.1963, allocations: 93.61 kB / 450.3 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.1964, allocations: 17.31 kB / 450.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.1964, allocations: 21.23 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1964, allocations: 0 / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005794/0.2022, allocations: 1.841 MB / 452.1 MB, free: 17.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.050361182540655]